OpenID Connect Discovery Document
You can set up your application using OpenID Connect (OIDC) Discovery Document. For information about obtaining a tenant identifier, see the Getting a Tenant Identifier section of the Administrator’s guide. Sample request:Authentication Flow
1
Get an Access Token
Choose one of the three authentication methods to obtain an access token:
- Resource Owner Password Credentials (ROPC) - Direct username/password authentication
- Authorization Code Flow - OAuth redirect-based authentication
- Client Credentials Flow - Machine-to-machine authentication with a client ID and secret
2
Include Token in Requests
Add the access token to the authorization header of all API requests.
Next Steps
- Resource Owner Password Credentials (ROPC) - Recommended for server-to-server applications acting as a user
- Authorization Code Flow - Recommended for user-facing applications
- Client Credentials Flow - Recommended for machine-to-machine integrations
