Once the user signs in or consents in the OAuth screen, the auth provider redirects to the callbackURL which is handled by this method.
Request
(Optional) Handles sign out requests
Response
(Optional) If the auth provider supports refresh tokens then this method handles requests to get a new access token.
Other types of providers may also use this method to implement its own logic to create new sessions upon request. For example, this can be used to create a new session for a provider that handles requests from an authenticating proxy.
Request
Handles the start route of the API. This initiates a sign in request with an auth provider.
Request
Staticmap
Any Auth provider needs to implement this interface which handles the routes in the auth backend. Any auth API requests from the frontend reaches these methods.
The routes in the auth backend API are tied to these methods like below
/auth/[provider]/start -> start/auth/[provider]/handler/frame -> frameHandler/auth/[provider]/refresh -> refresh/auth/[provider]/logout -> logout