Giter Site home page Giter Site logo

Comments (6)

AndyFelton avatar AndyFelton commented on June 14, 2024

Think I may have solved that some configuration missing from AndriodManifest.xml.

Thanks
Andy

from react-native-ms-adal.

samcolby avatar samcolby commented on June 14, 2024

Ah good news! And you preempted my reply...

Do you have any details on what you were missing in case it comes up again.

from react-native-ms-adal.

AndyFelton avatar AndyFelton commented on June 14, 2024

Hi,

I think this was the line that got it working:

Thanks for coming back so quickly!

One query I have got is we're using Azure B2C and have successfully completed an oAuth to that and have a bearer token. I need the ability to get claims and update details and was looking to use the Graph API for that. With this library how do I get access to the Graph API without going through another oAuth - or am I missing something on using B2C - all new to me sorry. If you have access to an example or some further detail that would be great!

Thanks
Andy

from react-native-ms-adal.

AndyFelton avatar AndyFelton commented on June 14, 2024

Sorry the change to the AndroidManifest didn't get through is was
<activity android:name="com.microsoft.aad.adal.AuthenticationActivity" android:label="@string/app_name"> </activity>

Thanks

from react-native-ms-adal.

samcolby avatar samcolby commented on June 14, 2024

Hi,

I'm no expert on the Azure side of things I'm afraid and not near a PC to check the code atm.

I'm fairly sure you need a separate oath token per resourceurl though.

Pretty much all the code here is from the original Cordova library, you may have better luck asking there. We just created the react native wrapper for it.

Thanks
Sam

from react-native-ms-adal.

samcolby avatar samcolby commented on June 14, 2024

Hey Andy, @bjartebore pushed some code earlier that improves connecting to multiple resources. Hopefully that helps you in some way. I've marked this as version 0.3.1

from react-native-ms-adal.

Related Issues (7)

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.