- Quickstarts: The easiest way to implement authentication, which can show you how to use Universal Login, the Lock widget, and Auth0’s language and framework-specific SDKs. Our Lock documentation and Auth0.js documentation provide specifics about retrieving an ID token after authentication.
- Authentication API: If you prefer to roll your own, you can call our API directly. First, you need to know which flow to use before following the appropriate flow tutorial.
Control ID token contents
You control which claims about the authenticated user are included in the ID token consumed by your application by including specific OpenID Connect Scopes in thescope
parameter when you request tokens while authenticating users.
You can also create custom claims, which are claims that you define, control, and add to a token using a rule. As with other , you should validate an ID token before assuming that its contents can be trusted.