docs: handle userinfo invalid_token outcomes in callback example
Update SDK example callback and integration guidance to treat UserInfoException as an authorization-state outcome (e.g. subject disabled/inactive scope) and return a clear 403 path.
This commit is contained in:
@@ -134,6 +134,8 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
`UserInfoException` with `invalid_token` can occur when provider-side subject scope is no longer active (for example user/project disabled) between token issuance and userinfo retrieval.
|
||||
|
||||
## Operational guidance
|
||||
|
||||
- Keep provider URLs in environment variables, not hard-coded.
|
||||
|
||||
Reference in New Issue
Block a user