We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supabase has easy OAuth integrations NextJS: https://supabase.com/docs/guides/auth/auth-helpers/nextjs
These don't work out of the box with BlitzJS. I've tried a few times to get them to work with BlitzJS and am quite lost.
What I figured out is that I can get the OAuth bearer token as follows:
const cookie = JSON.parse(ctx.session._req.cookies["supabase-auth-token"]) const token = tokens[2];
but if I continue further in this vein I'll have to reimplement authentication from scratch.
I don't know enough about OAuth and BlitzJS to solve this easily myself.
The text was updated successfully, but these errors were encountered:
Discussion: #4134
Sorry, something went wrong.
No branches or pull requests
What is the problem?
Supabase has easy OAuth integrations NextJS:
https://supabase.com/docs/guides/auth/auth-helpers/nextjs
These don't work out of the box with BlitzJS. I've tried a few times to get them to work with BlitzJS and am quite lost.
What I figured out is that I can get the OAuth bearer token as follows:
but if I continue further in this vein I'll have to reimplement authentication from scratch.
I don't know enough about OAuth and BlitzJS to solve this easily myself.
The text was updated successfully, but these errors were encountered: