Skip to content

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