uber / rides-android-sdk

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

Add code challenge param only with pkce authType #255

Closed lalwani closed 2 months ago

lalwani commented 2 months ago

If the code challenge param is added for authType = AuthCode then backend expects a code verifier too. This blocks clients who are using the 3-legged oauth flow using oauth client secret since they do not have a code verifier. So, this param should not be sent for AuthCode auth type.