uber / rides-ios-sdk

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

Limit code_challenge to shouldExchangeAuthCode only #305

Closed mohssenfathi closed 1 month ago

mohssenfathi commented 1 month 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