EndSessionEndpoint() previously called setOicdProvider() (which retries with backoff) and re-unmarshalled the discovery document on every logout. Read the end_session_endpoint once at provider init, store it on the provider, and make the accessor fail-fast (cached value, else the static logouturl) so /user/logout stays responsive even when the OP is unreachable. |
||
|---|---|---|
| .. | ||
| cron.go | ||
| logout.go | ||
| logout_test.go | ||
| main_test.go | ||
| openid.go | ||
| openid_test.go | ||
| providers.go | ||
| providers_test.go | ||