openapi: 3.0.0 info: title: Auth0 Authentication actions Deprecated > Passwordless API description: Auth0 Authentication API. Endpoints for authentication and authorization using OpenID Connect, OAuth 2.0, SAML, WS-Federation, and Passwordless flows. version: 1.0.0 servers: - url: '{auth0_domain}' description: The Authentication API is served over HTTPS. variables: auth0_domain: description: Auth0 domain default: https://demo.us.auth0.com tags: - name: Deprecated > Passwordless paths: /passwordless/verify: post: operationId: passwordless_verify deprecated: true tags: - Deprecated > Passwordless summary: Auth0 Verify with Verification Code description: Once you have a verification code, use this endpoint to login the user with their phone number/email and verification code. This is active authentication, so the user must enter the code in your app. requestBody: required: true content: application/json: schema: type: object properties: client_id: type: string description: The client_id of your application. connection: type: string description: Use sms or email (should be the same as POST /passwordless/start) grant_type: type: string description: Use password username: type: string description: The user's phone number if connection=sms, or the user's email if connection=email. password: type: string description: The user's verification code. scope: type: string description: Use openid to get an ID Token, or openid profile email to include also user profile information in the ID Token. responses: '200': description: Successful response '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '405': $ref: '#/components/responses/MethodNotAllowed' '429': $ref: '#/components/responses/TooManyRequests' '500': $ref: '#/components/responses/InternalServerError' '501': $ref: '#/components/responses/NotImplemented' '503': $ref: '#/components/responses/ServiceUnavailable' /oauth/ro: post: operationId: oauth_ro deprecated: true tags: - Deprecated > Passwordless summary: Auth0 Given the User's Credentials, This Endpoint Will Authenticate the User with the Provider and Return a JSON Object with the Access Token and an ID Token. description: 'Given the user credentials and the connection specified, it will do the authentication on the provider and return a JSON with the access_token and id_token. This endpoint only works for database connections, passwordless connections, Active Directory/LDAP, Windows Azure AD and ADFS. **This endpoint is deprecated**.' requestBody: content: application/json: schema: properties: client_id: type: string description: Your application's Client ID. connection: type: string description: The name of the connection configured to your application example: sms grant_type: type: string description: Denotes the flow you are using. example: password username: type: string password: type: string scope: type: string example: openid responses: '200': description: Successful response '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '405': $ref: '#/components/responses/MethodNotAllowed' '429': $ref: '#/components/responses/TooManyRequests' '500': $ref: '#/components/responses/InternalServerError' '501': $ref: '#/components/responses/NotImplemented' '503': $ref: '#/components/responses/ServiceUnavailable' components: responses: NotImplemented: description: Not Implemented content: application/json: schema: type: object properties: error: type: string error_description: type: string ServiceUnavailable: description: Service Unavailable content: application/json: schema: type: object properties: error: type: string error_description: type: string InternalServerError: description: Internal Server Error Unauthorized: description: Unauthorized content: application/json: schema: type: object properties: error: type: string error_description: type: string TooManyRequests: description: Too Many Requests content: application/json: schema: type: object properties: error: type: string error_description: type: string BadRequest: description: Bad Request content: application/json: schema: type: object properties: error: type: string error_description: type: string NotFound: description: Not Found content: application/json: schema: type: object properties: error: type: string error_description: type: string Forbidden: description: Forbidden content: application/json: schema: type: object properties: error: type: string error_description: type: string MethodNotAllowed: description: Method Not Allowed content: application/json: schema: type: object properties: error: type: string error_description: type: string