puiterwijk / flask-oidc

OpenID Connect support for Flask
BSD 2-Clause "Simplified" License
156 stars 218 forks source link

Halt registration for HTTP error codes #15

Closed jeremycline closed 7 years ago

jeremycline commented 7 years ago

This adds a check for the HTTP response code. If it's 400 or greater (which covers both client and server errors) an exception is raised which includes the error code.

Signed-off-by: Jeremy Cline jeremy@jcline.org