PASTAplus / auth

PASTA+ Authentication Service
Apache License 2.0
0 stars 0 forks source link

Break the login handler into multiple handlers #26

Closed rogerdahl closed 3 weeks ago

rogerdahl commented 5 months ago

The login handler in routes.py uses matching rule /auth/login/<idp> and then runs separate blocks of code for each idP. Refactor this to use separate handlers for each IdP. E.g., for Microsoft, /auth/login/microsoft.