Clerk Integrations Guide uses deprecated supabase.auth.setAuth
#16852
Replies: 6 comments 1 reply
-
Can this issue please get some attention - at the very least please take the clerk integration guide down until it is updated. It is incorrect and needlessly causes time and effort to be wasted. |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting this @JohnGemstone and the ping @novemberkilo. Would either of you be interested in opening a small PR for this? supabase/apps/docs/pages/guides/integrations/clerk.mdx Lines 122 to 155 in 5e66512 |
Beta Was this translation helpful? Give feedback.
-
@gregnr I'm just a few days into working on integrating supabase and clerk into an app so don't feel qualified to update the supabase documentation. I think that the folks at clerk have more recent documentation here https://clerk.com/docs/nextjs/supabase and may very well be better placed to contribute a change. @perkinsjr may be able to help? |
Beta Was this translation helpful? Give feedback.
-
Hey I have worked on around 7-8 company based project, but never countribute to open source, this is my first time can you assign me this task. |
Beta Was this translation helpful? Give feedback.
-
@Gingaaa we don't have an assignment process, feel free to start a PR and link it back to this issue! |
Beta Was this translation helpful? Give feedback.
-
So instead of two places. maybe the official supabase instruction should be removed and just put a link to https://clerk.com/docs/integrations/databases/supabase? Just so a single source of truth is in place. |
Beta Was this translation helpful? Give feedback.
-
Improve documentation
Link
Clerk Integrations Guide
Describe the problem
Hi! Seems like the clerk integrations guide is outdated. It still uses the setAuth method which is now deprecated.
Describe the improvement
Clerk tokens could instead be set in the authorization header via a client function like so:
Referenced from Clerk's Docs + garyaustin via Discord.
Beta Was this translation helpful? Give feedback.
All reactions