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

Dashboard step2: CF sso support #48

Open
gberche-orange opened this issue Dec 10, 2018 · 1 comment
Open

Dashboard step2: CF sso support #48

gberche-orange opened this issue Dec 10, 2018 · 1 comment

Comments

@gberche-orange
Copy link
Member

gberche-orange commented Dec 10, 2018

As a service author, I need dashboard returned by nested brokers to be returned to end users.

I would like COAB to ensure that authN and authZ gets enforced, leveraging https://docs.cloudfoundry.org/services/dashboard-sso.html and service instance CC API permission, and leveraging the X-Api-Info-Location header to identify UAA location (while remaining compatible with #158) :

X-Api-Info-Location header containing the /v2/info url for that instance. The /v2/info endpoint will return further information, including the location of that Cloud Foundry instance’s UAA.

The nested broker would not add any additional authN and authZ, beyond only accepting traffic from the COAB service broker with alternative mechanisms such as:

Design:

  • The X-Api-Info-Location header gets saved into coab-vars.yml at service instance creation.
  • The dashboard URL returned contains the service instance guid such as /dashboard/guid
  • A (dynamic?) spring oauth security configuration is performed so that the /dashboard/guid endpoint redirects to the UAA endpoint provided in the associated coab-vars.yml into the X-Api-Info-Location entry
  • The endpoint controller's looks up the CF API endpoint into the associated coab-vars.yml into the X-Api-Info-Location entry, to invoke the /v2/service_instances/:guid/permissions endpoint
@gberche-orange
Copy link
Member Author

lowering priority given that osb-cmdb should be given the responsibility

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

No branches or pull requests

1 participant