samcolby / react-native-ms-adal Goto Github PK
View Code? Open in Web Editor NEWReact Native Bindings for the Microsoft ADAL library
License: Apache License 2.0
React Native Bindings for the Microsoft ADAL library
License: Apache License 2.0
Hi @samcolby, We are not able to add the library for latest react version.
See more compilation issues, do you have any eta in library update
I have taken latest plugin and added all things as per document. I am trying to login it is taking username and password after that it is showing this message. But i have valid redirect uri and client id
Firstly, thanks for providing this package. I have integrated this into an app with APIs protected by AzureAD and it works fine.
The issue I have observed in testing is with token caching. For example, on Android if I kill the app after authenticating and access it again the silent auth happens in the background as expected (i.e. I do not need to re-enter my credentials). However, on iOS, if I follow the same flow when I reopen the app I need to go through the process of entering my credentials again. Is this a known issue with iOS or is there something I have overlooked here in the setup steps needed on the iOS side?
I'm seeing cases where the last token in the cache has accessToken set to nil.
I think the correct approach should be for getValidMSAdalToken
to filter out cache entries with no accessToken value.
I'm not super confident how the token cache items should be treated but here's an example of code checking for an accessToken value and whether it's expired:
https://github.com/AzureAD/azure-activedirectory-library-for-objc/blob/20e97dba0a7ef0bd3ba86c1aa93a0be5dcff3b71/ADAL/src/request/ADAcquireTokenSilentHandler.m#L322
Hi,
I am trying to use this module to be able to get access to the Microsoft Graph API for Azure B2C. I can see the call going all the way to acquireTokenAsync in AuthenticationContext.js but then the application appears to crash after calling the RNAdalPlugin.
I'm running this on an Android device and was wondering if I had some setup/configuration missing?
Thanks for any help you can provide
Andy
When trying to acquire token for multiple resources I am forced to run the full login process for each login. This seems to be because the promptBehaviour is set to "Always".
If this is changed to Auto the application could decide for itself whether or not it would have to show the login dialog. We need to run the requireTokenAsync for each resource before we are able to use the requireTokenSilentlyAsync for the resource.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.