OutSystems PWA Azure AD Login

0 votes

we have an OutSystems Mobile App (PWA) We would like to add Azure AD SSO

We have tried Idp Mobile, but it is not for PWA

We have tried to embed in an iframe the login to login.microsoftonline.com, but it is not framable (CSP) So we tried to follow this doc: https://docs.microsoft.com/it-it/graph/auth-v2-user but again the html returned by the authorize api is not framable :( is there a solution? thanks

Apr 1, 2022 in Azure by Edureka
• 13,620 points
1,049 views

1 answer to this question.

0 votes
Because it involves user input, AAD does not allow framing of sites where credentials are entered. When you try to access the Azure Active Directory (AAD) login page using an iframe, you may see issues as a result of AAD's defensive efforts to prevent malicious attacks. There are several solutions you might attempt that could work in a few circumstances.

Check that the reply urls are the same in the app and the portal.
AAD's headers are configured to prevent their login page from being shown in a frame. The prompt option specifies the sort of user engagement requested. Set it to none to indicate that no user participation is required (if it is ok in your case). It is an optional parameter that has been added to the login address in the iframe (&prompt=none).

Additionally, &domain hint= The domain userdomain.com is appended to the end of the URL request, where userdomain.com is the final portion of the user's email address - e.g. user@userdomain.com > Microsoft Docs | OAuth 2.0 Authorization Code Flow
Close and try it a several times to ensure it works before logging in with your work account in Edge or Chrome.
answered Apr 4, 2022 by Edureka
• 12,690 points

Related Questions In Azure

0 votes
0 answers

Windows Azure Portal login to portal and receive error "We are having trouble logging you into the portal"

Open browser Navigate to http://www.windowsazure.com/en-us/ Select portal top right login with ...READ MORE

Mar 2, 2022 in Azure by Edureka
• 13,620 points
741 views
0 votes
1 answer

Error with Azure AD Authentication in Unity for Android

Depending on the version, Unity uses UnityPlayerActivity ...READ MORE

answered Mar 24, 2022 in Azure by Edureka
• 13,620 points
921 views
0 votes
1 answer

How To login to azure kubernetes cluster?

Run az login to authenticate to Azure. Run az aks get-credentials to ...READ MORE

answered Apr 1, 2022 in Azure by Edureka
• 12,690 points
3,770 views
0 votes
1 answer

Azure az login with tenant

we can use CLI command like this: az ...READ MORE

answered Apr 7, 2022 in Azure by Edureka
• 12,690 points
2,154 views
0 votes
1 answer

Establish JDBC Connection in R through single sign-on

You can certainly connect to databases with ...READ MORE

answered Sep 12, 2018 in AWS by Priyaj
• 58,020 points
2,480 views
0 votes
1 answer

Implementing a SAML client in Python

I know you are looking for a ...READ MORE

answered Apr 29, 2019 in Python by SDeb
• 13,300 points
1,967 views
0 votes
0 answers

Are there any serious pitfalls to Outsystems Agile Platform?

We are currently looking into the Agile ...READ MORE

Apr 13, 2022 in PMP by Edureka
• 13,690 points
344 views
0 votes
0 answers

Are there any serious pitfalls to Outsystems Agile Platform?

We are currently looking into the Agile ...READ MORE

Apr 18, 2022 in PMP by Edureka
• 13,690 points
420 views
0 votes
1 answer

Azure AD SAML with React and Nodejs - auto login with azure portal

You just need to configure your web ...READ MORE

answered Apr 7, 2022 in Azure by Edureka
• 12,690 points
3,431 views
0 votes
1 answer

How to use Jsonwebtoken NPM package to verify JWT token issued by Azure AD?

Okay so I have found out the ...READ MORE

answered Mar 29, 2022 in Azure by Edureka
• 12,690 points
4,161 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP