-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SAML] Views/endpoints for users setting the organization's SAML configuration #3580
Comments
Yes. You can create |
Thank you @pennersr - I appreciate hearing from you always! Question: are there any existing views you would recommend we hook into or call when receiving a customer's new SAML configuration? |
Depending on where you need that, |
I mean when, at runtime via our API, customers submit to us their SAML configuration files to enable "Login w/ SAML SSO" for their account. (In our app, an organization has |
That likely involves a model with foreign keys to an organization/company/customer model, and how that is modeled and stored is beyond scope of allauth. There are no views for this either. |
In our application, users "bring your own SAML config", i.e. they go into their e.g. Okta apps list, and create a new SAML configuration that maps their IdP data to our application.
Within our application, there is a form where they input this SAML configuration and submit it to our API.
We wrote a lot of this code ourselves, as it just barely predated when allauth released its SAML module(s).
I'm exploring instead using the now-built-in allauth modules so we don't have to maintain our own code, but I don't see views/endpoints to which new SAML configurations can be submitted, effectively replicating the static configuration approach in the docs.
Is there a way to dynamically/at runtime manage and modify what is represented as
settings.SOCIALACCOUNT_PROVIDERS["saml"]["APPS"]
list in the docs example?I see this note:
We are not using Django admin but I suppose we could utilize similar or even the same Django views perhaps?
Thank you and happy holidays! 🎄
The text was updated successfully, but these errors were encountered: