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

0.4: "cumulative" scoping for new requests and upgrades #4

Open
pirogoeth opened this issue Dec 5, 2015 · 0 comments
Open

0.4: "cumulative" scoping for new requests and upgrades #4

pirogoeth opened this issue Dec 5, 2015 · 0 comments
Assignees
Milestone

Comments

@pirogoeth
Copy link
Owner

When creating a new session for a scoped location, ensure that we not only request a token for the location's specified scope, but also for the config.oauth_auth_scope to keep the number of session upgrades that need to happen at a minimum.

Example:

current_scope = none
location -> /auth/test/scope-testing [scope: unix-wheel]
<session creation>
new_current_scope = sso unix-wheel

During a session upgrade, we should make sure to compound current scopes to reduce the number of session upgrades.

Example:

current_scope = sso unix-wheel
location -> /auth/test/scope-testing [scope: container-manage]
<session is killed and recreated>
new_current_scope = sso unix-wheel container-manage
@pirogoeth pirogoeth self-assigned this Dec 5, 2015
@pirogoeth pirogoeth added this to the 0.4 milestone Dec 5, 2015
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