Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review http status code handling on all network operation #12075

Open
DeepDiver1975 opened this issue Feb 21, 2025 · 0 comments
Open

Review http status code handling on all network operation #12075

DeepDiver1975 opened this issue Feb 21, 2025 · 0 comments

Comments

@DeepDiver1975
Copy link
Member

Background

Http status codes have defined meanings and the client has to act accordingly.
E.g. 503/Service Unavailable should trigger a pause in operations until the service is back again. In case this scenario is triggered on a token refresh it should not trigger a re-login what would be reasonable in case of a 401

Tasks

Findings

OpenID Connect Service Discovery

ref:

// Most likely the file does not exist, default to the normal endpoint

Only in case of a 404 we can assume that the server is not supporting OpenID Connect. Any other http status code - specifically 503 shall lead into dedicated error handling.
TODO: double check the specifications

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

No branches or pull requests

1 participant