Hi !
I have a quite special need. I have my front-end with Supabase (Yes I’m sorry but it’s like that, don’t ask) and I have a service I need to connect to that uses only Auth0.
Can I connect my user in background (the credentials are the same between Supabase and Auth0), so my service using Auth0 could just open without a login.
Is it possible ? Or not…
(Because I tried something with the client token, but it didn’t work)
After doing some research, it looks like Supabase offers a documentation that goes over how to integrate with Auth0 as a third-party authentication provider, which sounds like it matches your use-case. Let me share the docs on this matter that I was able to find:
Yeah I seen that, but on the other page, Supabase only says : “You can use these providers alongside Supabase Auth, or on their own, to access the Data API (REST and GraphQL), Storage, Realtime and Functions from your existing apps.”
So is the third party authentification is only for access to their database, their storage and functions or, is also to use with the authentification process.
Because Supabase have “Auth” on one side and “Database” on the other side.
In fact, the issue is, even if I can authenticate a use using Auth0 credential with my login page using Supabase (lets say Auth0 credentials works in Supabase). When a user is connected with “SupaAuth0”, if he go on a service using Auth0 as SSO, did he need to reconnect with Auth0 only, or will he be connected already and the SSO will work directly ?
So for the very last part of your comment, that would depend on how you set up Auth0. If you authenticate and share that across your other apps, then sign in once and access them all could be possible.
As for the first part, I’ll try dig into supabase docs further but that’s very dependent an specific to their platform rather than Auth0
Hi !
Do you have any info about this ?
Because I check Supabase docs and I found nothing about this…
It may just not be possible to do dual login at the same time