Skip to content
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

Enable restriction of valid IdPs #39

Open
mogul opened this issue Mar 2, 2019 · 0 comments
Open

Enable restriction of valid IdPs #39

mogul opened this issue Mar 2, 2019 · 0 comments

Comments

@mogul
Copy link
Contributor

mogul commented Mar 2, 2019

It's possible to restrict the set of IdPs that a UAA client will be authenticated against using allowed providers in UAA.
https://docs.cloudfoundry.org/uaa/uaa-concepts.html#additional-info

This is cool because

  1. it's a coarse way to limit the set of valid users for that app to just the subset of those from that particular IdP, using just configuration and no code in the app, and
  2. it's a way less confusing user experience for people using an app that's specific to just one IdP

The broker should probably take a parameter like "allowed_providers" at creation time. If the user supplies one not in the list of IdP origins configured in UAA, a failure message can indicate the set of valid origins (and that list could be filtered if need be to keep people from making apps that use a particular origin that's reserved in some way).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant