Flask-Middleware / flask-security

Quick and simple security for Flask applications
MIT License
624 stars 155 forks source link

Improve oauth debugging #912

Closed jwag956 closed 5 months ago

jwag956 commented 5 months ago

Lots of things can go wrong with oauth - especially for developers trying to get configuration correct. RIght now - if oauthglue::oauthresponse gets an error when calling authlib to parse the response - we basically just redirect to /login - which is fine - but doesn't help developers.

easy improvement - add a signal so app developers can see/log errors.