Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Better error handling for faulty OP #42

Open
peppelinux opened this issue Jun 3, 2021 · 0 comments
Open

Better error handling for faulty OP #42

peppelinux opened this issue Jun 3, 2021 · 0 comments

Comments

@peppelinux
Copy link
Member

Let's assume that a OP have an unhandled exception that returns to RP a stupid HTML page (error 40x, 50x).
We should take this into account

oidcrp/util.py", line 555, in load_registration_response
    raise OidcServiceError(response.to_json())
AttributeError: 'dict' object has no attribute 'to_json'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant