Skip to content
New issue

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

Feature Request: Add Official Supabase Support #1797

Open
About7Deaths opened this issue Aug 19, 2022 · 10 comments
Open

Feature Request: Add Official Supabase Support #1797

About7Deaths opened this issue Aug 19, 2022 · 10 comments
Assignees
Labels
component/integration Integrate Logto with other projects and products. documentation Improvements or additions to documentation feature-request Something cool or not cool status/on-our-radar It's in our mind, we're likely to do it. Further discussion is needed.

Comments

@About7Deaths
Copy link

What problem did you meet?

It is unclear if Supabase is properly / fully supported. The authentication flow I have in mind is using Logto as the identity and authentication server for the login page of my application, which would then redirect to an application dashboard populated by the various Supabase database features (besides their built-in authentication).

Describe what you'd like Logto to have

I am unsure if changes only need to be made to Supabase, or additionally to Logto. To facilitate further discussion of this problem, I created an issue on the Superbase repository requesting that they add support for Logto OIDC - see Issue 407 Reference.

@gao-sun gao-sun added the feature-request Something cool or not cool label Aug 20, 2022
@gao-sun
Copy link
Member

gao-sun commented Aug 20, 2022

thank you! really cool idea

@baderdean
Copy link

Hello,

is there some updates to this feature request? Supabase uses Gotrue yet the IAM part is very basic. I rather prefer a proper solution like Logto for a better user experience.

@gao-sun
Copy link
Member

gao-sun commented Oct 28, 2022

@baderdean yes! we're looking at it. we are new to supabase and its integration process takes more time than we expected. will keep you posted.

@gao-sun gao-sun added 2022-Q4 and removed 2022-Q3 labels Oct 28, 2022
@gao-sun
Copy link
Member

gao-sun commented Oct 30, 2022

After some investigation, before Logto has a "custom token signing" feature, I think it's pretty close to the Auth0 integration:

Since:

  • For now Logto cannot be used as a third-party identity provider
  • For the first-party integration, you also need to manually sign the JWT after user signed in

Replace the Auth0 part with Logto and it'll be good I suppose. @wangsijie would you like to double check when you have time? thanks.

@wangsijie
Copy link
Contributor

Replace the Auth0 part with Logto will work! But I am not sure whether this can solve your problem. @About7Deaths
In this way, Logto will take place the whole built-in authentication provided by Supabase, as for authorization, some fetures like "Row Level Security" will still be available, but the other parts like "Managing User Data" may not work.

@gao-sun gao-sun added documentation Improvements or additions to documentation triaged and removed feature-request Something cool or not cool 2022-Q4 labels Apr 21, 2023
@gao-sun gao-sun added status/on-our-radar It's in our mind, we're likely to do it. Further discussion is needed. component/integration Integrate Logto with other projects and products. and removed triaged labels Apr 22, 2023
@github-actions
Copy link

github-actions bot commented May 3, 2023

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label May 3, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2023
@baderdean
Copy link

Too bad it has been closed as not planned. We're going for GoTrue then.

@gao-sun
Copy link
Member

gao-sun commented May 12, 2023

Too bad it has been closed as not planned. We're going for GoTrue then.

ah the auto close is unexpected

@gao-sun gao-sun added feature-request Something cool or not cool and removed stale labels May 12, 2023
@gao-sun gao-sun reopened this May 12, 2023
@wangsijie
Copy link
Contributor

@baderdean @About7Deaths After a further investigation, I am sure that @gao-sun's conclusion works, can it solve your problem?

@baderdean
Copy link

We're using Supabase Gotrue because it was easier but still unhappy about many stuff like: no default UI, no nice email templates, no ability to have multi-social login account linked to the auth account, no ability to get additional credentials besides the basic ones during auth (for example accessing the contact lists)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/integration Integrate Logto with other projects and products. documentation Improvements or additions to documentation feature-request Something cool or not cool status/on-our-radar It's in our mind, we're likely to do it. Further discussion is needed.
Development

No branches or pull requests

4 participants