amplify-ui
amplify-ui copied to clipboard
FR (Authenticator): Support SAML providers
On which framework/platform would you like to see this feature implemented?
React, Angular, Vue
Which UI component is this feature-request for?
Authenticator
Please describe your feature-request in detail.
Our current documentation only shows Google, Facebook, Apple and Amazon as social providers. It would be nice to add in other external identity providers, bit SAML or OIDC, like with Microsoft Azure.
Please describe a solution you'd like.
Add a way for customers to add their own social providers and have them displayed for a user to login.
We love contributors! Is this something you'd be interested in working on?
- [X] 👋 I may be able to implement this feature request.
- [ ] ⚠️ This feature might incur a breaking change.
I would also like to see this feature for React!
Any update on this?
Any updates?
@bestickley @d-belic @jmacmullin, I'm trying to gather more requirements on this issue. Are you most interested in SAML or OIDC or both?
@reesscot, I'm interested only in OIDC.
Same, I'm only interested in OIDC at the moment.
I'm interested in SAML
SAML
I'm interested in SAML. Any updates on this?
How were you thinking about the workflow and UX in general? Maybe a flexible approach, for example, routing based on the email domain could be a good option.
UX:
- An email field is shown along all the currently support social providers (Google etc)
- If a users enters an email, the backend looks up the email domain in the database, if it's supposed to be authenticated by a SAML provider. If the domain has no SAML provider associated, the current aws login flow can be used (password is shown now).
- If the user is supposed to be authenticated with a SAML provider, then the backend returns the redirection links to the frontend and the frontend will redirect to the SAML provider.
Edit: I found some resources:
https://aws.amazon.com/blogs/security/use-the-hosted-ui-or-create-a-custom-ui-in-amazon-cognito/ https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managing-saml-idp-naming.html
In some example I see that a user has the option between a corporate email and a regular login. I think this would lead to many UX issues and support calls. A single field and then dynamic routing on the email would be better I'd assume.
Hi ! I also need this for a React project 🤗 @L-U-C-K-Y 's suggestion sounds perfect to me !
I would like to see SAML support, please and thank you!
@bestickley @d-belic @jmacmullin, I'm trying to gather more requirements on this issue. Are you most interested in SAML or OIDC or both?
SAML
SAML, please!
Show a button with a link like in the hosted UI would be enough