The next-auth implementation for keycloak is a joy to use. I’d love to see a similar library for Redwoodjs.
I’ll try to implement a working example with super tokens. I’ll link a repo if I get it working by tomorrow.
Nvm, currently their docs are a mess, the implementation and the multiple occurrences of different docs are contradictory.
Ex.: https://supertokens.com/docs/thirdparty/quick-setup/backend and (not really documented) https://supertokens.com/docs/nodejs/modules/recipe_openid.html