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

fix(okta): remove duplicate credentials #1150

Closed
wants to merge 3 commits into from
Closed

fix(okta): remove duplicate credentials #1150

wants to merge 3 commits into from

Conversation

Tugzrida
Copy link

laravel/socialite#684 added the client_id and client_secret to the Authorization header in addition to the request body, however Okta throws an error if multiple credentials are provided, so they must be removed from the body before sending the request.

Copy link
Member

@lucasmichot lucasmichot left a comment

Choose a reason for hiding this comment

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

Some minor changes requested

src/Okta/Provider.php Outdated Show resolved Hide resolved
src/Okta/Provider.php Outdated Show resolved Hide resolved
Tugzrida and others added 2 commits February 16, 2024 08:43
Co-authored-by: Lucas Michot <lucas@semalead.com>
@Tugzrida Tugzrida requested a review from lucasmichot February 15, 2024 22:19
@lucasmichot lucasmichot requested a review from atymic February 15, 2024 22:19
@driesvints
Copy link

driesvints commented Feb 16, 2024

I've reverted the original PR.

@lucasmichot
Copy link
Member

I've reverted the original PR.

Thanks for the head up @driesvints - I'll have a look at that

@Tugzrida
Copy link
Author

Closing as laravel/socialite#694 reverts the introduction of the bug

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