{"repo":"salvoravida/react-adal","free":true,"listed":false,"github":"https://github.com/salvoravida/react-adal","clone":"git clone https://github.com/salvoravida/react-adal.git","description":"Azure Active Directory Library (ADAL) support for ReactJS","language":"JavaScript","stars":214,"topics":["azure","active","directory","adal","react-adal","react","reactjs","iframe"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Azure Active Directory Library (ADAL) support for React react-adal Azure Active Directory Library (ADAL) support for ReactJS index.js This index wrap is needed because ADAL use iframes for token silent refresh, and we do not want to have duplicated ReactApp started on iframes too! indexApp.js (your real app index as it already is - example below) adalConfig.js use adalApiFetch with your favorite \"fetch\" in your api call. withAdalLoginApi HOC change DO NOT LOGIN to true on index.js to stop login on index.js Logging Out The AuthenticationContext object (authContext) has a built in function (logOut) to log out of a session. This function redirects user to the logout endpoint. After logout, the user will be redirected to the postLogoutRedirectUri if it was added as a property on the config object. The following code shows an example of how to create a Log Out dropdown in a NavBar changelog view - CHANGELOG.md tutorials from the web https://itnext.io/a-memo-on-how-to-implement-azure-ad-authentication-using-react-and-net-core-2-0-3fe9bfdf9f36 https://medium.com/@dmitrii.korolev1/react-adal-typescript-pnp-sp-93ef69eddd18 inspired by https://blog.mastykarz.nl/building-office-365-web-applications-react/ https://medium.com/@adpreg/react-with-redux-app-with-azure-ad-auth-and-net-core-starter-project-88b1bbdb7856 https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols-implicit MS adal.js https://github.com/AzureAD/azure-activedirectory-library-for-js","default_branch":null,"files":null,"tree":[],"storefront":"/r/salvoravida","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/salvoravida/react-adal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}