adal.js

Hide back button in Azure Active Directory login page

大憨熊 提交于 2021-02-08 02:11:16
问题 We have implemented ADAL js in our angular web app. I wonder if Is there any config to hide the back ('Atrás' in the picture) button at the login page? to be like: 回答1: No, there's not option to hide the "back" button. 来源: https://stackoverflow.com/questions/57810154/hide-back-button-in-azure-active-directory-login-page

Hide back button in Azure Active Directory login page

怎甘沉沦 提交于 2021-02-08 02:10:17
问题 We have implemented ADAL js in our angular web app. I wonder if Is there any config to hide the back ('Atrás' in the picture) button at the login page? to be like: 回答1: No, there's not option to hide the "back" button. 来源: https://stackoverflow.com/questions/57810154/hide-back-button-in-azure-active-directory-login-page

Callback after Login() of ADAL.js is not called in Edge

一笑奈何 提交于 2021-02-07 19:55:01
问题 I am using ADAL.js(which calls Azure Active Directory) as javascript library for verifying the user. I am using the following code for this: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <script src="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.15/js/adal.min.js"></script> <script> var endpoints = { "https://management.core.windows.net": "https://management.core.windows.net" }; var config = { clientId: 'e333d3fe-a73a-4476-8121-8a57f9a972ca',

Callback after Login() of ADAL.js is not called in Edge

戏子无情 提交于 2021-02-07 19:54:22
问题 I am using ADAL.js(which calls Azure Active Directory) as javascript library for verifying the user. I am using the following code for this: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <script src="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.15/js/adal.min.js"></script> <script> var endpoints = { "https://management.core.windows.net": "https://management.core.windows.net" }; var config = { clientId: 'e333d3fe-a73a-4476-8121-8a57f9a972ca',

How to resolve Multi Factor authentication for AAD in Selenium test in CI

萝らか妹 提交于 2021-01-28 05:34:11
问题 I am trying to integrate Selenium tests to CI. The problem I am facing is all the users (even test user) is protected by Multi-factor authentication and when I will run test cases on the server with each login there will a prompt user for the Multi factor. We are running selenium test cases on SPA using adal-angular.js and adal.js How to resolve this issue? Is there any way to create a logical switch on API server or SPA to bypass the authentication prompt? Thanks. 回答1: You cannot do this

ADFS 2016 X-Frame-Options to deny

谁说胖子不能爱 提交于 2020-04-16 02:27:10
问题 I'm using adal.js on my react app (using react-adal wrapper). I configured my app to work with my ADFS 2016 server (on premise), and the authentication process works fine, but after the ADFS SSO cookie expired, when the client sends the renew token request (in an hidden iframe), the browser shows in the console the following error: refuse to display 'https://myadfs/adfs/ls/SAMLRequest=...' in a new frame because it set 'X-frame-options' to deny. In order to reauthenticate, the user needs to

Azure AD + ADAL.js + App Service - Only one claim on ClaimsPrincipal.Current.Claims

别来无恙 提交于 2020-01-17 07:52:43
问题 I'm facing a very strange issue related to Azure AD and Azure App Service (Web App). I have a SPA built with Angular 1.5 + ADAL.JS, WebAPI (hosted on App Service) and Azure AD. I've created two applications into my Azure AD directory: - one native (SPA) - one web application (WebAPI). The Login and Logout workflows are working fine locally and on Azure. However, when I'm running on Azure and checking if an user is member of a group, the ClaimsPrincipal.Current.Claims only have one Claim. (I

Acquiring new access token using refresh token adal js

瘦欲@ 提交于 2020-01-14 14:27:12
问题 I am working with an application that authenticate in azure ad. I use adal.js to acquire access token. But the access token is only valid for 1 hour. So how can I acquire new token behind the scene using my refresh token in Adal js? Appreciate if you can provide sample code. 回答1: As long as the user have an active session with Azure AD, ADAL JS does it automatically for you. ADAL JS examines the projected expiration of the existing token (in the cache) and if the token is about to expire, it

Retrieve SAML using ADAL library

♀尐吖头ヾ 提交于 2020-01-07 08:38:11
问题 Can adal.js library or adal-node.js library can be used to retrieve SAML2 token from Azure AD? If so, how? I've tried using the example provided here. Although the solution works, I was not able to integrate it with express. 回答1: The short answer is NO: ADAL.JS does not support SAML2 tokens 来源: https://stackoverflow.com/questions/48168426/retrieve-saml-using-adal-library

How to get PowerBI accesstoken using ADAL.JS

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-05 05:53:27
问题 I'm trying to use ADAL.js to authenticate against PowerBI in order to get an access_token and the embed_token needed to embed PowerBI reports/dashboards/tiles in a html/javascript-only "webpart". My adal-config looks like: config = { instance: 'https://login.windows.net/common/oauth2/authorize/', tenant: 'tenant.onmicrosoft.com', clientId: '05xxxxx-xxx-xxxx-xxxx-xxxxxxxxxxxx', loginResource: "https://analysis.windows.net/powerbi/api", postLogoutRedirectUri: window.location.origin,