go-sdk/auth
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shusaku Yasoda 1250a31b51
auth: add OAuth error handling in TokenVerifier and tests (#399)
Add ErrOAuth error type and handling to match TypeScript SDK behavior.
OAuth protocol errors now return HTTP 400 instead of 500, providing
better error classification for authentication issues.

Changes

- Add ErrOAuth variable for OAuth-specific protocol errors
- Update verify function to return 400 for OAuth errors
- Add test case for OAuth error handling


Fixes compatibility with TypeScript SDK error handling patterns.
2025-09-03 13:05:07 -04:00
..
auth.go auth: add OAuth error handling in TokenVerifier and tests (#399) 2025-09-03 13:05:07 -04:00
auth_test.go auth: add OAuth error handling in TokenVerifier and tests (#399) 2025-09-03 13:05:07 -04:00