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

fix: Updated gotrue types.dart to include slackOidc #1066

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

Oskar-Nilsen-Roos
Copy link
Contributor

@Oskar-Nilsen-Roos Oskar-Nilsen-Roos commented Oct 19, 2024

What kind of change does this PR introduce?

Fix

What is the current behavior?

Trying to pass OAuthProvider.slack to sign in will set the provider url parameter value to "slack", though "slack_oidc" is needed to authenticate properly with Slack OIDC authentication option.

What is the new behavior?

You're able to pass OAuthProvider.slackOidc giving you the correct url param in the authentication request url.

Additional context

Gotrue exported OAuthProvider doesn't currently include Slack OIDC provider option.

I had this verified by Supabase support when trying to figure out what was wrong with my auth setup (big thanks to Jenny Kibiri)

Gotrue exported OAuthProvider doesn't currently include Slack OIDC provider option. Therefore, trying to pass OAuthProvider.slack to sign in will set the wrong "provider" url param.
@dshukertjr dshukertjr changed the title Updated gotrue types.dart to include slackOidc feat: Updated gotrue types.dart to include slackOidc Oct 19, 2024
@Oskar-Nilsen-Roos Oskar-Nilsen-Roos changed the title feat: Updated gotrue types.dart to include slackOidc fix: Updated gotrue types.dart to include slackOidc Oct 19, 2024
@dshukertjr dshukertjr merged commit 12007b3 into supabase:main Oct 20, 2024
11 of 12 checks passed
@Oskar-Nilsen-Roos Oskar-Nilsen-Roos deleted the patch-1 branch October 21, 2024 12:08
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

Successfully merging this pull request may close these issues.

3 participants