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(gotrue, supabase_flutter): Throw error when parsing auth URL that contains an error description. #839

Merged
merged 5 commits into from
Feb 16, 2024

Conversation

dshukertjr
Copy link
Member

@dshukertjr dshukertjr commented Feb 15, 2024

What kind of change does this PR introduce?

The SDK should throw an AuthException when parsing an auth URL that contains an error description.

This PR updates the _isAuthCallbackDeeplink in supabase_flutter to return true if the URL contains error_description, and also makes sure proper exception is thrown when parsing auth URL containing an error description.

Related #819 (comment)

@dshukertjr dshukertjr changed the title fix(gotrue, supabase_flutter): throw error when parsing auth URL with error description. fix(gotrue, supabase_flutter): Throw error when parsing auth URL that contains error description. Feb 15, 2024
@dshukertjr dshukertjr marked this pull request as ready for review February 15, 2024 13:31
@dshukertjr dshukertjr changed the title fix(gotrue, supabase_flutter): Throw error when parsing auth URL that contains error description. fix(gotrue, supabase_flutter): Throw error when parsing auth URL that contains an error description. Feb 15, 2024
@dshukertjr dshukertjr merged commit afc4ce5 into main Feb 16, 2024
11 checks passed
@dshukertjr dshukertjr deleted the fix/auth-url-exception branch February 16, 2024 00:22
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.

None yet

2 participants