FormidableLabs / FormidableLabs/react-native-app-auth

Authorize promise does not resolve for Microsoft authentication in IOS

Open
#1,023 7 comments 0 reactions 0 assignees View on GitHub
needs-repro
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.