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"}
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 :
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.