Coder Social home page Coder Social logo

Comments (3)

vmurin avatar vmurin commented on July 24, 2024 1

No, as said, go to you APP registration under https://apps.dev.microsoft.com
And add redirect URI in stated format. See example screenshot (all values are only examples)
2019-04-19_155153

Important that the package name in AndroidManifest.xml is exactly the same as you put in for redirect URI and the structure is correct, as the library relies on this structure. See here

from react-native-azure-auth.

vmurin avatar vmurin commented on July 24, 2024

Hi Malith,

look at this read.me section https://github.com/vmurin/react-native-azure-auth#callback-urls

Here is described the structure of callback URL or redirect URI (it is the same)

You should provide it by app registering on the MS APP page (see readme)
By me it was like this (for android):
com.auth.react://com.auth.react/android/callback

Please use your own YOUR_APP_PACKAGE_NAME (android) instead of com.auth.react and YOUR_BUNDLE_IDENTIFIER (for iOS)
Actually it could be the same URI for both systems, but it seems to be the best practice to separate it.

Greets
Vladi

from react-native-azure-auth.

malith-gammanpila avatar malith-gammanpila commented on July 24, 2024

Hi Malith,

look at this read.me section https://github.com/vmurin/react-native-azure-auth#callback-urls

Here is described the structure of callback URL or redirect URI (it is the same)

You should provide it by app registering on the MS APP page (see readme)
By me it was like this (for android):
com.auth.react://com.auth.react/android/callback

Please use your own YOUR_APP_PACKAGE_NAME (android) instead of com.auth.react and YOUR_BUNDLE_IDENTIFIER (for iOS)
Actually it could be the same URI for both systems, but it seems to be the best practice to separate it.

Greets
Vladi

Hello @vmurin ,
Thank you very much for the information. Which file I have to modify or where should I put this {YOUR_APP_PACKAGE_NAME}://{YOUR_APP_PACKAGE_NAME}/android/callback? in AndroidManifest.xml?

Please help me. I'm new to this area.
Thank you in advance.
-Malith

from react-native-azure-auth.

Related Issues (20)

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.