space-cloud icon indicating copy to clipboard operation
space-cloud copied to clipboard

[Feature] Add support for Authentication via Kratos

Open YourTechBud opened this issue 2 years ago • 0 comments

The problem faced currently?

Currently we only support authentication via JWT. We should add support for Kratos.

How can we solve it?

  • Write a middleware to forward cookie and x-session-token to Kratos if SC was started with the kratos.enabled flag.
  • Store the entire session value dump in the Claims field of RequestAuthentication object.

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you. 👍

YourTechBud avatar Jun 03 '23 06:06 YourTechBud