msal

How to disable or bypass MSAL authentication when running Angular e2e tests?

回眸只為那壹抹淺笑 提交于 2020-12-06 07:03:05
问题 I want to set up some end to end tests for my Angular application, which requires the use of the MSAL library to authenticate with some downstream services. When I try to run my e2e tests locally, the MSAL library is forcing me to authenticate with a username/password. This is a problem because our CI/CD e2e testing should not have any human-intervention; thus I am looking for a way to either bypass the MSAL authentication or set up a service-account to login. Unfortunately there is not a lot

How to get valid AAD v2 token using MSAL.js for Azure DevOps

限于喜欢 提交于 2020-12-04 05:20:15
问题 ADAL.js and AAD v1 works to access Azure DevOps using delegated user_impersonation scope. I used the same AAD Application Id with delegated permissions to generate access tokens using MSAL.js. The tokens were created successfully, but the access token does not work to access Azure DevOps. The only meaningful difference in the decoded JWT token is that the "aud" claims are different. In ADAL/v1, the aud is the application id of Azure DevOps: "aud": "499b84ac-1321-427f-aa17-267ca6975798" In

How to get valid AAD v2 token using MSAL.js for Azure DevOps

百般思念 提交于 2020-12-04 05:19:29
问题 ADAL.js and AAD v1 works to access Azure DevOps using delegated user_impersonation scope. I used the same AAD Application Id with delegated permissions to generate access tokens using MSAL.js. The tokens were created successfully, but the access token does not work to access Azure DevOps. The only meaningful difference in the decoded JWT token is that the "aud" claims are different. In ADAL/v1, the aud is the application id of Azure DevOps: "aud": "499b84ac-1321-427f-aa17-267ca6975798" In

How to get valid AAD v2 token using MSAL.js for Azure DevOps

♀尐吖头ヾ 提交于 2020-12-04 05:19:02
问题 ADAL.js and AAD v1 works to access Azure DevOps using delegated user_impersonation scope. I used the same AAD Application Id with delegated permissions to generate access tokens using MSAL.js. The tokens were created successfully, but the access token does not work to access Azure DevOps. The only meaningful difference in the decoded JWT token is that the "aud" claims are different. In ADAL/v1, the aud is the application id of Azure DevOps: "aud": "499b84ac-1321-427f-aa17-267ca6975798" In

How to get valid AAD v2 token using MSAL.js for Azure DevOps

白昼怎懂夜的黑 提交于 2020-12-04 05:17:44
问题 ADAL.js and AAD v1 works to access Azure DevOps using delegated user_impersonation scope. I used the same AAD Application Id with delegated permissions to generate access tokens using MSAL.js. The tokens were created successfully, but the access token does not work to access Azure DevOps. The only meaningful difference in the decoded JWT token is that the "aud" claims are different. In ADAL/v1, the aud is the application id of Azure DevOps: "aud": "499b84ac-1321-427f-aa17-267ca6975798" In