Self-Hosted Supabase Auth as IdP
Hello!
I'm evaluating Supabase as a platform for our next projects and was wondering if the following scenario could be achieved with Supabase Auth:
I'm going to implement in supabase the backend for my applications and use the REST api to provide access on tables/functions to clients that are going to use it. I've got 3 applications that will be part of my system: two of them will use the API (and could simply login the user via the REST endpoint and get the JWT token for API calls), while the third one just needs to authenticate the user by checking its credentials, don't need token and (more importantly) is a third-party app that either supports its own local user store or oauth for login. Is there a way to have supabase auth to act as an Oauth2 provider so that users could access the third-party app with supabase-managed users? Could this mechanism be also used in the other apps as Single Sign-On so that if the user log in into one is automatically logged in into the others?
0 Replies