glacials / splits-io

a speedrunning data store and analysis engine
https://splits.io
GNU Affero General Public License v3.0
132 stars 26 forks source link

Unclear if PKCE for OAuth2 works #746

Open glacials opened 3 years ago

glacials commented 3 years ago

When debugging the mobile app's OAuth2 flow I ran into invalid_grant issues exchanging a code for an access token when the client library was configured to use PKCE. Turning it off in the client library made the exchange work fine. I didn't look into specifics, but I know we (via Doorkeeper) are supposed to support PKCE. The library I was using was oauth2_client for Flutter.