User logs in to your application
The user logs into your application using our UI Components.
Corbado backend creates session-token
Upon successful login, the Corbado Frontend API responds with a
session-token.
Request a session from your application
After receiving the Corbado session-token, the user sends a request to your backend
including the Corbado session-token either as a cookie or in an authorization header.
Validate the Corbado session-token in your backend
Your backend must verify the Corbado session-token to be authentic. This can be done either by using
a dedicated Corbado backend SDK or manually using our JWKS (https://< projectID >.frontendapi.cloud.corbado.io/.well-known/jwks).
Create your own session
After confirming that the Corbado session-token is authentic, so you can create your own session in the backend.
Then, send your session to the user.