jhuapl-boss / boss-oidc

Django Auth plugin specific to the Boss SSO Server
Apache License 2.0
13 stars 22 forks source link

Narrowed exception handling #32

Closed derek-pryor closed 5 years ago

derek-pryor commented 5 years ago

When trying to figure out if a user account currently exists any exception is caught which may cause problems if the exception is not the DoesNotExist that is expected. This makes the exception handling more explicit about the errors being expected.