This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.
This is just a proposal so far, it hasn't been accepted and needs further discussion.
We need to create id tokens
- Add them into oauth2 endpoints
- Add a specific id token endpoint into oauth2
- Use the existing JWT recipe
Chosen option: Use the existing JWT recipe
- Simplifies the OAuth2 recipe
- There is nothing we need to validate/store about the id tokens
- The overhead of multiple calls should be OK, since these are not often used operations + calls to the Core should be very quick