mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? show the "enable" button if the `GET /auth/v1/admin/custom-providers` returns 404 (without a json body). this is temporary as I want to enable the rollout of this feature now, and there could be projects which didn't get the latest auth server release(should be completed by next week). ## What is the current behavior? We only show a generic error message. ## What is the new behavior? Show custom provider specific message and add CTA to enable the custom providers (simply trigger a PATCH config request to trigger auth config updates) ## Additional context <img width="1454" height="390" alt="image-IPleA6ze@2x" src="https://github.com/user-attachments/assets/b0cb4df8-2499-4749-900c-b78543a72800" /> This error is shown after 2 retries of the `GET /auth/v1/admin/custom-providers`, would be nice to have if we show this error message without retries.