I'm trying to implement multiple SSO (OpenID Connect) logins in my application, besides the regular one.
The current provider requests are Azure and Okta, but there will be more. For every bigger customer using my application, I want to be able to enable them a custom SSO login that they can setup in the admin panel.
All the libraries I've tried using for this are either using settings.py and local django authentication, or they are deprecated.
The flow is like this:
User chooses their company and SSO login button -> Gets redirected to login -> I send the client id, secret etc. (which they entered in the admin panel when registering an sso connection) -> I get a token in return with the users name and email -> with this info (email) I find the already existing user in my local database and log him in
