Comments (3)
Can you please explain me that how I we should give the redirect uri
from react-native-keycloak.
I just found the solution.
The problem was the redirectUri
.
I change the code to the following, and now works fine 😄
const initOptions = {
redirectUri: 'iris://home',
// if you need to customize "react-native-inappbrowser-reborn" View you can use the following attribute
inAppBrowserOptions: {
// For iOS check: https://github.com/proyecto26/react-native-inappbrowser#ios-options
// For Android check: https://github.com/proyecto26/react-native-inappbrowser#android-options
},
};
const App = () => (
<ReactNativeKeycloakProvider authClient={keycloak} initOptions={initOptions}>
<NativeRouter>
<Route exact path="/" component={Home} />
<Route exact path="/home" component={Home} />
<Route path="/video" component={Video} />
</NativeRouter>
</ReactNativeKeycloakProvider>
);
from react-native-keycloak.
Have you changed the scheme in AndroidManifest.xml too? Could you please provide all of the changes you have made to make it work?
from react-native-keycloak.
Related Issues (20)
- Pass data from a custom login component HOT 2
- Multiple providers not possible HOT 1
- Deploy to Google Play HOT 5
- Authenticate via browser app (don't use in app browser) HOT 2
- Error: fetchTokens failed HOT 3
- On log in keycloak event returns AuthError : {"error": [TypeError: Network request failed], "error_description": "Failed to refresh token during callback processing"} HOT 3
- keycloak redirect uri blank page HOT 3
- Login issue in RN HOT 1
- Possible Unhandled Promise Rejection (id: 0): Error: Unable to open url. Error: Unable to open url.
- Good way to implement a "Remember login" logic?
- Redirection not working in wrapped iOS build
- Another InAppBrowser is already being presented
- Cannot redirect to a specific screen after a successful login. HOT 2
- Unable to Redirect to Keycloak Login Page HOT 3
- help me please....
- Unable to hide close button. or handle callback when close
- Invalid Parameter: redirect_uri on Android HOT 2
- Is this still maintained?
- when ever app refreshed or closed and reopend just after seconds after login data is not persistant, and data feilds are undefined HOT 1
- check-sso not working
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-keycloak.