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

sso: send access token on group information query #171

Merged
merged 2 commits into from
Apr 9, 2019

Conversation

jphines
Copy link
Contributor

@jphines jphines commented Apr 1, 2019

Problem

Not all identity providers provide the same API for access groups. This is especially true for Google which has a rather strange mechanism for fetching group information.

Most identity providers, including Okta, require an individuals access token in order to query information about their groups. However, our abstractions now do not consider this and don't allow for this case.

Solution

We pass on the access token now for all identity providers, even if not all identity providers (like Google) require it. This will prove useful and necessary when we get further along for adding access for Okta as an identity provider, which does require it.

Jusshersmith
Jusshersmith previously approved these changes Apr 2, 2019
shrayolacrayon
shrayolacrayon previously approved these changes Apr 3, 2019
@jphines jphines merged commit c470b12 into master Apr 9, 2019
@jphines jphines deleted the jhines-okta-send-access-token branch April 9, 2019 17:16
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

Successfully merging this pull request may close these issues.

3 participants