supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
486 stars 120 forks source link

Slack OIDC is not displayed properly #265

Open worldofprasanna opened 1 month ago

worldofprasanna commented 1 month ago

Bug report

Describe the bug

I have setup Slack_OIDC Provider as the default Slack provider is deprecated and I couldn't create it in Supabase. But in the Auth component, it is rendered as "Slack_oidc" and without any Logo.

To Reproduce

  1. Specify slack_oidc provider in the list
  2. Sign in button will be generated but without logo and proper text

Eg: <Auth supabaseClient={supabase} appearance={{ theme: ThemeSupa }} theme="default" providers={["google", "slack_oidc"]}
/>

Expected behavior

I expect the Slack Login button to be generated with the proper logo and name as "Slack" (not as Slack_oidc)

Screenshots

image

Additional context

A similar issue occurred for LinkedIn also - https://github.com/supabase-community/auth-ui/issues/234

Happy to give a similar PR for Slack OIDC as well.