Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When executes authorize function it get stuck after gets open in browser with no further procedure with no error and no response #932

Open
RitulPatil opened this issue Dec 21, 2023 · 8 comments
Labels
needs-more-info This issue may not have sufficient information for a contributor to take action

Comments

@RitulPatil
Copy link

Getting stuck once open in web with no response

I have implemented as follows:
const config:any = {
issuer: '',
clientId: '
',
redirectUrl: '
*********',
scopes: ['openid'],
clientAuthMethod :'basic' ,

// iosPrefersEphemeralSession: true,
// androidTrustedWebActivity: true

};
and using it in function
const azureAdLogin = async () => {

try {
  const result = await authorize(config);
  console.log('azureAdLogin result=', result);
} catch (error: any) {
  console.log("error=", error);
}

}


Environment

experiencing the issue on: both react-native Version: 0.72.7
react-native-app-authVersion:7.1.0`

@endrits079
Copy link

+1

@janroures
Copy link

+1

Did you find any solution?

@endrits079
Copy link

My issue was in the backend, I don't know tho what the backend guys did to fix, I am just assuming the redirect urls were not right

@theyanniss23002
Copy link

+1

@carbonrobot
Copy link
Contributor

Thanks for the issue report, we are going to need some additional details in order to help out. Do you have any specific debugging information you can provide?

@carbonrobot carbonrobot added the needs-more-info This issue may not have sufficient information for a contributor to take action label May 2, 2024
@LekZ974
Copy link

LekZ974 commented May 14, 2024

+1
For me everything works fine when logging in for the first time, but the browser freezes when "authorize" is triggered upon reconnection without kill the application.
My issue is only on iOS and since my upgrade of RN 0.71 to 0.73
RN: 0.73.6
react-native-app-auth: 7.1.0

@sirmong
Copy link

sirmong commented Jun 18, 2024

I can log in, log out and log in again. But if I delete an account, then the browser freezes on a new log in attempt. Relaunch application helps.

No errors received

@bogrees
Copy link

bogrees commented Sep 17, 2024

react-native-app-auth authorize call is freezing in iOS 18, webview opens, then freezes.
RN: 0.75.3
react-native-app-auth: 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info This issue may not have sufficient information for a contributor to take action
Projects
None yet
Development

No branches or pull requests

8 participants