Giter VIP home page Giter VIP logo

react-native-ms-adal's Issues

Need 0.63 RN support

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

'ADAL/ADAL.h' file not found.

Hi everyone,

Trying to make this work with:

  • react-native: 0.59.5, and the following pod file:

Screenshot 2019-11-05 at 14 15 42

iOS deployment target is set to 11.0 everywhere.

Cannot make it work because of the following error:
Screenshot 2019-11-05 at 14 13 10

Does anyone have an idea why this happens?

Your organization needs more information to secure

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

Token caching - different behaviour on iOS and Android

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?

getValidMSAdalToken should skip over cache entries with no accessToken

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

Issue with getting token

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

Unable to authenticate multiple resources

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.