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

[Help Needed] - Is a on-prem supabase install supported ? #90

Closed
mikekuzak opened this issue Nov 21, 2023 · 5 comments
Closed

[Help Needed] - Is a on-prem supabase install supported ? #90

mikekuzak opened this issue Nov 21, 2023 · 5 comments

Comments

@mikekuzak
Copy link

Expose the next_auth schema
Expose the next_auth schema in the API settings by adding next_auth to the "Exposed schemas" list.

More information here.

Then copy the output and save it for the next step.

API settings don't exists in the UI in a self hosted instance.

@sebiweise
Copy link
Collaborator

I just created a PR #83 where you can find the settings for your local Supabase instance. In the config.toml you can define the API schemas to expose:
https://github.com/jorge-menjivar/unSAGED/pull/83/files#diff-56c3d03bfaddf3efa07a4efe3dd767c0ecc36441ffe865ee5865794b066ee2faR10

@mikekuzak
Copy link
Author

@sebiweise Where is the [supabase/config.toml] file in the docker setup ? Which container does host that ? Any docker env. variables to set this up ?

@sebiweise
Copy link
Collaborator

The config.toml I´ve linked in the privous comment is just for the supabse-cli to get your development env up and running.

@mikekuzak
Copy link
Author

Hmm I'm using the supabase docker self-hosted setup.
https://supabase.com/docs/guides/self-hosting/docker

@sebiweise
Copy link
Collaborator

sebiweise commented Nov 22, 2023

I don´t really know how to configure the expose schema for the docker self hosted version, maybe the Supabase Support can help you?
But for the future we are trying to implement the native Supabase auth and/or Clerk so this wont be needed when this feature is implemented, the next_auth schema will be gone then.
See #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants