OAuth2 icon indicating copy to clipboard operation
OAuth2 copied to clipboard

url encoding optional?

Open posaninagendra opened this issue 8 years ago • 1 comments
trafficstars

Hello, Is it possible to make the URL Encoding used before performing base64 encoding of client_id and client_secret, as optional?
This is creating a problem in a case where the client id has a @ and it is being encoded to %40 and the server is not able to authenticate.

posaninagendra avatar May 30 '17 13:05 posaninagendra

Have you tried setting a different encoding, as discussed in #165 ?

Here's the setting: https://github.com/p2/OAuth2/blob/master/Sources/Base/OAuth2ClientConfig.swift#L76

p2 avatar Jun 07 '17 05:06 p2