Best way to setup server with multiple apps that need auth.
My server serves two separate desktop apps with the same api and auth setup currently. I have a solution in the after hook that gets the 'location' header and runs a deeplink redirect to the corresponding app, this location value is onconsistent with Twitch oauth if the user isnt properly redirected to my browser. I tried creating separate better auth handlers for each app, but im running into state_mismatch errors trying to sign in
0 Replies