Is there a way to only authenticate users for my app that have been applied a specific role? I’m using React, Express, Node, Postgres DB. We have many members in our Active Directory, but only want to allow users that have been given one of three roles to be able to be authenticated/logged in. Is this something I achieve by
Tag: msal
How to edit the MSAL login commands to make it work for multiple users?
I have the following code working and I’m able to login with username and password. I am working with Cypress to login to a webapp with MSAL. In the e2e Testfile: Command.js: Imported auth.js Got credentials in authSettings.json As you can see I am able to login with the credentials which were saved as variable in the authSettings.json file. This
OpenId Connect, Query Microsoft Graph
We have a .Net Web Application that uses Single Sign On implemented by OpenID Connect to create an ID token and log a user in. Specifically Microsoft.Owin.Security.OpenIdConnect and Microsoft.IdentityModel.Protocols.OpenIdConnect I now have a requirement to query Microsoft Graph API via JavaScript. In order for me to query Graph API I assume I need an Access token (plus I want to
Trouble with Angular ngOnInit
I have an app that I inherited from somebody that left our organization. I’m having a problem with ngOnInit not working the way I think it should. I’m still pretty new using Angular and Observables I can see in the console when I navigate to the component it entering the ngOnInit method, what I don’t see is the console.info statement
Azure AD authentication failed using idToken or accessToken. Which one should I use?
In the azure active directory documentation it states: idToken: id_tokens are sent to the client application as part of an OpenID Connect flow. They can be sent along side or instead of an access token, and are used by the client to authenticate the user. accessToken: Access tokens enable clients to securely call APIs protected by Azure I am using