Generic OAuth SSO (server side) in sveltekit
Having a hard time udnerstanding how to implement the SSO eredirect server side.
This only explains how to use it client side: https://www.better-auth.com/docs/plugins/generic-oauth
What I have now is this:
And auth
in hooks, I expect to be redirected to the OAuth signin (whatever it is) but it doesn't seem to work like that. I can find very little documentation about how this is supposed to be implemented.
Any help or nudge in the right direction would be appreciated!
0 Replies