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

Add auth servers #58

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add auth servers #58

wants to merge 5 commits into from

Conversation

FonzMP
Copy link

@FonzMP FonzMP commented May 17, 2022

Reopening the auth server PR to hopefully get a valid CLA.

Implements functionality to interact with Authorization Servers and Policies using Oktakit.

@jw81
Copy link

jw81 commented Feb 2, 2024

@ltk @felipesaezreyes
Would either of you happen to know who the maintainers are of this project and how we could get in contact with them?

We could really use the new features that this PR would provide and we'd be interested in helping do whatever needs to be done to bring this into the gem.

Thank you for your time. 😄

http.authorization('SSWS ', @token) if @token
http.authorization(:Bearer, @access_token) if @access_token
http.headers[:authorization] = "SSWS #{@token}" if @token
http.headers[:authorization] = "Bearer #{@access_token}" if @access_token
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just asking, why is this change needed?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure why specifically this change was made but if I had to guess it was likely to make the application of the authorization header uniform with the how the other headers were being set above it. If this is a blocker we can likely revert this change without issue.

@rporrasluc
Copy link
Contributor

Changes here look good to me and consistent with how other methods to interact with Okta API are implemented. However, I do not have much knowledge about this repository and I would appreciate if other contributor can have a look too.

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.

4 participants