uber / uber-ios-sdk

Uber iOS SDK (beta)
https://developer.uber.com/docs
MIT License
375 stars 125 forks source link

Limit code_challenge to shouldExchangeAuthCode only #305

Closed mohssenfathi closed 2 months ago

mohssenfathi commented 2 months ago

Description

This PR fixes a bug where we send code_challenge in the authorize request when we shouldn't be. We should only be sending a codeChallenge to the authorize endpoint in cases where we want to exchange auth code for auth token on device.

Changes

Testing