mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #579] [CLOSED] Don't send duplicate authentication with basic authentication #678
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#678
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/579
Author: @jimmya
Created: 3/17/2020
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
747fabeDon't send client_id and client_secret when authenticating using basic authentication📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
Sources/OAuth2Swift.swift(+4 -1)📄 Description
When enabling
The client_id and client_secret are still sent in the POST body. Some oAuth implementations complain about this. For example Ory Hydra returns this error:
This PR ensures that when authenticating through basic authentication, client_id and client_secret aren't sent in the post body.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.