Comments (13)
thanks for your feedback!
from react-native-azure-auth.
Please describe the problem more detailed. What are your actions, what do you see on the screen, what ist the expected behavior and what you get instead.
You may also find useful the issue #6
from react-native-azure-auth.
I set same redirect url in azure and in the app, but after login webview redirect to blank page and don't redirect to app
from react-native-azure-auth.
I press log in, enter to account and aftert browser show me blank page
from react-native-azure-auth.
Thank you for the input!
Following additional data needed to analyse the issue:
- What OS you are on?
- What is your call back URI registered in MS App Registration or Azure portal?
- In which section of registration portal you entered the callback URI? (Web or Desktop+devices or Native in the old portal UI)
- Attach your
AndroidManifest.xml
or iOSInfo.plist
Best regards
V.
from react-native-azure-auth.
-
Windows
-
a) msal121b9b31-6df5-4560-857b-f2485ba13ba4://auth
is return
b)https://login.microsoftonline.com/common/oauth2/nativeclient
is return
Thank You for help!
from react-native-azure-auth.
Hey Vadim,
it seems one intent-filter
in your manifest is missing.
Compare the example from readme with you file: https://github.com/vmurin/react-native-azure-auth#app-configuration
The data section with android:scheme
should be in another filter (it has VIEW in it).
Try to correct the manifest and tell me if it works.
from react-native-azure-auth.
I correct my manifest, but it still not work
from react-native-azure-auth.
Hi! i changed manifest like this and now it's work! Thank You!
from react-native-azure-auth.
Perfect! Good news.
I see you have used the generated URI from MS portal. It is a valid approach too.
Actually the only important thing is the correct spelling. You should have the same URI in the portal and manifest. In the previous variant without android:host
key the key "android:prefix" is ignored, so every request with given scheme com.stenn
would be redirect to the app. I suppose it was somewhere misspelled ... for example with extra space character or some Cyrillic character (e.g. c
???) in the manifest or portal.
Another consideration - may be you have some another app using the same scheme. In this case the additional data key android:host
helps to identify the correct one.
So I'll now close the issue.
Good luck!
Relevant docs:
https://developer.android.com/training/app-links/deep-linking#adding-filters
https://developer.android.com/guide/topics/manifest/data-element
from react-native-azure-auth.
Hi,
I have the same problem in Android, iOS works fine, but it Android after a press continue or cancel both anything happens...
Someone can help me?
from react-native-azure-auth.
Hi Gustavo,
did you check/compare the spelling of the android:scheme in the android manifest and redirect URL in App registration - this is the only what could be wrong
from react-native-azure-auth.
Hi vmurin,
I found a solution, in azure portal when i put the signature hash, azure portal encode base64, so its different than I was put in AndroidManifest.xml
Thanks
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.