Skip to content

fix(gotrue): classify auth errors by error_code - #431

Draft
Tr00d wants to merge 1 commit into
masterfrom
gotrue-error-codes
Draft

Tr00d wants to merge 1 commit into
masterfrom
gotrue-error-codes

Conversation

@Tr00d

@Tr00d Tr00d commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Fixes #409

@Tr00d

Tr00d commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

@fresh55 Thoughts on this one?

@fresh55

fresh55 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

yep, that's exactly what I had in mind for #409, nice that the raw code is on the exception too 🚀

only one minor thing, the doc on IGotrueClient.RefreshToken still says a rejected refresh throws InvalidRefreshToken

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.

bug(gotrue): FailureReason matches english messages instead of error_code

2 participants