vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
6.27k stars 1.28k forks source link

feat: add `supabase-auth-helpers` #101

Closed thorwebdev closed 2 years ago

thorwebdev commented 2 years ago

Fixes #100 Fixes #97 Fixes #95

Major refactor using the new https://github.com/supabase-community/supabase-auth-helpers/blob/main/src/nextjs/README.md which make things more robust in terms of Auth strategy \o/

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel-solutions-vtest314/nextjs-subscription-payments/3QAk5tLWqmEK8EYXWn3w7iue26Hp
✅ Preview: https://nextjs-subscription-paymen-git-da2b84-vercel-solutions-vtest314.vercel.app

thorwebdev commented 2 years ago

Oh interesting, I'm running into this error Unknown encoding: base64url for https://github.com/supabase-community/supabase-auth-helpers/blob/main/src/shared/utils/jwt.ts#L2

image

@gbibeaul @leerob any idea why? When running via next dev it works fine 🤔