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

[Need Help] : Azure sso ( callback not received) #11

Open
GroupeBEL opened this issue Apr 30, 2020 · 1 comment
Open

[Need Help] : Azure sso ( callback not received) #11

GroupeBEL opened this issue Apr 30, 2020 · 1 comment

Comments

@GroupeBEL
Copy link

GroupeBEL commented Apr 30, 2020

Hello,

I'm trying to connect my application(ionic5/capacitor) to azure using sso , but I don't receive a callback.

I'm using as url :

 try {
      const response = await SingleSignOn.authenticate({
        url: 'https://myapps.microsoft.com/signin/appname/ID',
        // customScheme: 'customSchemeIfNeeded'
      });
      // this response will contain your completion URL with all your authorization keys used from the oauth callback
      console.log('call back received', response.url);
    } catch (error) {
      console.error(error);
    }

The authentication is done successfully and it navigate to the website not the application.
when I try to cancel and go back to the app I receive this error:

{"errorMessage":"The operation couldn’t be completed. (com.apple.AuthenticationServices.WebAuthenticationSession error 1.)","message":"Error"}

any help please and thanks.

@MaxInMoon
Copy link

@webteambel did you succeed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants