mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-27 21:25:51 +03:00
[PR #309] [MERGED] Remove 'access_token' parameter when renewing OAuth2 token #598
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#598
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/309
Author: @boyvanamstel
Created: 11/10/2016
Status: ✅ Merged
Merged: 11/10/2016
Merged by: @phimage
Base:
master← Head:renew-token📝 Commits (2)
4559c19Remove 'access_token' parameter when renewing OAuth2 token9895439Ommit parameters from renewAccessToken instead of removing access_token📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
Sources/OAuth2Swift.swift(+2 -2)📄 Description
Some services (tested with Spotify) will fail the request for a new token when the access token is specified both as a parameter and a header.
This commit removes the access_token field from the parameters when automatically renewing a token.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.