Coder Social home page Coder Social logo

Comments (4)

vmurin avatar vmurin commented on July 4, 2024

Hi,

please post here the examples of your callback URIs, that are not accepted by MS registration or Azure portal, together with error messages . Please provide also the application type for each URI you use (native or web)

from react-native-azure-auth.

internetstaff avatar internetstaff commented on July 4, 2024

my applicationId and package are both "com.possible_mobile"

Per the guidelines, {YOUR_APP_PACKAGE_NAME}://{YOUR_APP_PACKAGE_NAME}/android/callback , I used com.possible_mobile://com.possible_mobile/android/callback

The old console accepts the URI, but returns:

image

In the new Azure App Registration console, the input box turns red with no useful error message displayed.

image

from react-native-azure-auth.

vmurin avatar vmurin commented on July 4, 2024

According to RFC 2396 (Section 3.1) :

scheme = alpha *( alpha | digit | "+" | "-" | "." )

So the underscore character in your package name is invalid in this case. Also I found that for some not understandable reason Azure don't like underscore in the another parts of URI too.
If you replace/remove '_' all will work in both - the App Registration and Azure portals.

And I will update readme with new information. :)
Thank you for helping pointing this out!

from react-native-azure-auth.

internetstaff avatar internetstaff commented on July 4, 2024

Thanks for looking at this!

FWIW, their portal updated and now it displays useful errors about the URL. It appears to be just the scheme that is a problem, but yesterday even FQDNs with https were randomly failing.

Both portals now seem to work fine.

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.