mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #655] [MERGED] optionally change authorize url param names #704
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#704
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/655
Author: @daironmichel
Created: 5/13/2021
Status: ✅ Merged
Merged: 5/13/2021
Merged by: @phimage
Base:
master← Head:master📝 Commits (1)
c351c8foptionally change authorize url param names📊 Changes
1 file changed (+8 additions, -2 deletions)
View changed files
📝
Sources/OAuth1Swift.swift(+8 -2)📄 Description
@phimage you were right to reject my original pull request. It's was dumb on my part.
Your solution is better and did help in part. However it didn't allowed me to change the name of the params in the authorize url.
The idea is that instead of having the standard param names:
https://www.someprovider.com/authorize?oauth_token=<token>&oauth_consumer_key=<key>You can change them to:
https://www.someprovider.com/authorize?token=<token>&key=<key>which is how E*Trade requires it to be.
Thanks for your help!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.