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

Authorize promise does not resolve for Microsoft authentication in IOS #1023

Open bsoft-Paulraj opened 2 months ago

bsoft-Paulraj commented 2 months ago

Issue

I faced a problem of Microsoft authentication authorize promise not resolved or reject in IOS, but it works well in android.

I just have this log in xcode Background Task 13 ("Called by XXX, from -[RNAppAuth issuer:redirectUrl:clientId:clientSecret:scopes:additionalParameters:serviceConfiguration:skipCodeExchange:useNonce:usePKCE:resolve:reject:]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

Environment Identity Provider: Custom Oauth2 Compliant Provider Platform: iOS (13.7 and 10.3.1) React Native: 0.74.3 React Native App Auth: 8.0.0 Not using Expo

j-q-in-berlin commented 1 month ago

Did you manage to find anything? We ran into a similar issue.