supabase / supabase-swift

A Swift client for Supabase
https://supabase.com/docs/reference/swift
MIT License
720 stars 111 forks source link

fix(auth): incorrect error when error occurs during PKCE flow #592

Closed grdsdev closed 2 weeks ago

grdsdev commented 3 weeks ago

What kind of change does this PR introduce?

Fix https://github.com/supabase/supabase-swift/issues/591

What is the current behavior?

Error was using a fixed message instead of getting it from the error_description URL param.

What is the new behavior?

Get the error from error_description param instead.

Additional context

Add any other context or screenshots.

MilesV64 commented 2 weeks ago

Thank you for this! Looking forward to the release, seems it maybe failed 🙏