Replies: 1 comment 2 replies
-
Hey @Teeldt, that seems indeed like an issue in config. We currently have multiple organizations using SSO via Google Workspaces and it has no issues. Keep in mind we use hosted supabase, and I know there are some limitations with SSO when self-hosting supabase but I am not aware of the details as I never used it.
You should create a super-admin user in order to be able to do this properly. I suspect doing it manually like you did it could be causing the issue. To enabled super-admin rights for a user, you need to manually add an entry in Also I am not sure how you did the IDP connection. You should follow the guide from supabase cli and make sure to use the attribute mapping file you can find in Good luck, hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
I am running shelf as a self-hosted docker container, with a local Supabase setup. Most parts of the setup is going well, and in Supabase I have setup for SSO (Google) so that I can authenticate users with Supabase, but it fails my Shelf logins. When entering my site, choosing to login with SSO and choosing my configured email domain, I am correctly forwarded to Google login. Then I get 403 Error: app_not_configured_for_user.
I have followed the instructions on these pages, with some necessary modifications along the way to accommodate my setup.
I had to manually add database entries in Supabase to follow step 9 in instruction 2, where the group ids are supposed to be linked to access groups in the Shelf GUI, those settings are unavailable in the interface. I'm not entirely sure they're entered correctly, but it does look reasonable. I have a row in the public."SsoDetails" table with a made up id and otherwise settings according to the image. In public."Organizations" I have manually set enable_SSO to true, and linked the SsoDetailsId to my entry in that table.
When testing the SAML login from the Google interface, I am correctly referred back to the ACS URL into my Supabase database. Then I get successful login in the SAML log. But when logging in through the shelf application, I instead get error "failed to login because of the following error: Application not configured", which to me indicates that something is off either within Shelf or in its connection with Supabase. I don't get any error messages in neither shelf container, or any of the supabase containers, but I can see that proper requests are made.
Do any of you have any ideas for how I may be able to solve this?
Beta Was this translation helpful? Give feedback.
All reactions