Skip to content

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
@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.

2 participants