FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers
https://commerce.nearform.com/open-source/react-native-app-auth
MIT License
2.04k stars 441 forks source link

Fix/dupe state #974

Open fant0mex opened 6 months ago

fant0mex commented 6 months ago

Fixes #965

Description

Removes the state key from additionalParameters to prevent error on Google Auth with iOS

Steps to verify

Attempt to authenticate via Google on iOS with an accompanying state param in additionalParameters Flow should not throw with the Oauth 2 parameters can only have a single value: state error

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: 14f2eabba6a9b98766ddab27619a2ee1264b7e3c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | react-native-app-auth | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR