Comments (4)
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.
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:
In the new Azure App Registration console, the input box turns red with no useful error message displayed.
from react-native-azure-auth.
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.
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)
- Is there any way to clearSession without opening the dialog modal ? HOT 1
- Crash: No Activity found to handle Intent { act=android.intent.action. VIEW dat=https://login HOT 1
- yarn install fails when node_modules and lock files are deleted HOT 1
- Glitch - loop to redirect to login popup, not redirect to app HOT 14
- msGraphRequest for other endpoints that use POST
- Infinite Loading on microsoft login HOT 6
- Does the framework work on React-Native-Macos and React-Native-Windows? HOT 1
- Android build error with latest RN version 0.72.1 HOT 3
- Not able to set in.veris.userandroid://in.veris.userandroid/android/callback. as redirect uri in azure AD HOT 3
- Logout does not work at iOS and Android HOT 2
- Compile Android problem
- Authentication IOS: Network request failed with face ID (IOS)
- ClearSession WebView iOS error when closing HOT 2
- Azure MFA Network Failure on iOS HOT 3
- Logout Redirect issue HOT 5
- First login attempt always fails HOT 3
- Expo Support HOT 1
- Logout WebView Not Closing HOT 3
- AcquireTokenSilent not working HOT 1
- [iOS] - Popup name edit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-azure-auth.