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: active-directory
Nothing being Outputted after first Function Call – Javascript
I’m working on a javascript project that will list everything from user name, email, phone number, and notes from AD into into a spreadsheet, so far i have two functions. however anything i put after getExternalID(users[i].externalIds ||[] does not output any information. here’s a snippet of what i have. I’m a bit of a novice, would this be due to
Integrate ActiveDirectory Javascript code into React
I have this Javascript code to handle ActiveDirectory authentication. I need to create a React component that uses this code, what is the best way to achieve this in React? The React component looks like this: Answer you should be abler to handle this authentication in the componentDidMount lifecycle method. it should probably look like this.