capacitor-community / generic-oauth2

Generic Capacitor OAuth 2 client plugin. Stop the war in Ukraine!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App Store Connect Issue

cordeveloper opened this issue · comments

The Apple store rejects the publishing attempt because the user is taken to the default browser to register, which causes a "poor user experience." It urges us to implement Safari Web Controller to display web content within the application. The login seems to arise in an instance of the Safari browser, so what is the problem? Does the plugin really implement the Safari Web Controller? How can I demonstrate it?

Description

Capacitor version:

Installed Dependencies:

@capacitor/cli: 4.8.0
@capacitor/android: 4.6.3
@capacitor/ios: 4.8.0
@capacitor/core: 4.7.0

Library version:

-4.02

OAuth Provider:

  • Azure AD (B2C)

Your Plugin Configuration

{
appId: "",
authorizationBaseUrl: , scope: "", accessTokenEndpoint: ,
responseType: "code",
pkceEnabled: true,
logsEnabled: true,
web: {
redirectUrl: ${REDIRECT_BASE},
windowOptions: "height=600,left=0,top=0",
windowTarget: "_self",
},
android: {
redirectUrl:
"",
/* accessTokenEndpoint: '',
handleResultOnNewIntent: true,
handleResultOnActivityResult: true,
responseType: 'code' */
handleResultOnNewIntent: true,
handleResultOnActivityResult: true,
},
ios: {
redirectUrl: "",
},
}

Affected Platform(s):

*IOS