Git Product home page Git Product logo

Comments (9)

IronTony avatar IronTony commented on June 15, 2024

Hi,

I have 2 questions for you:

  1. why from an app you want to redirect the user to the web
  2. why do you need the URL modification?

from react-native-keycloak.

FauricioValencia avatar FauricioValencia commented on June 15, 2024

Hi @IronTony
at first moment, I think I needed to open the user web to login, but you're right, I need just valid the authentication.

but now, I have another error, when open the browser shown me the login page:

image

But when a enter a valid credentials and press Log In shown
image

I think is little weird because I test with same user in the browser of my computer, and the login is works

from react-native-keycloak.

IronTony avatar IronTony commented on June 15, 2024

It seems to be a Keycloak config problem, but can you please debug with Flipper and check the Network, so we can see

Thank you

from react-native-keycloak.

FauricioValencia avatar FauricioValencia commented on June 15, 2024

@IronTony I checked the Network in Flipper but don't show any request when open browser

from react-native-keycloak.

IronTony avatar IronTony commented on June 15, 2024

@FauricioValencia what have you typed in the redirectUri? Because I am using this in production app and I don't have the problem

from react-native-keycloak.

FauricioValencia avatar FauricioValencia commented on June 15, 2024

@IronTony right now, I'm trying using this in local:

image

with this implementation:

image

and I received this:
image

but i'm not sure why.

from react-native-keycloak.

IronTony avatar IronTony commented on June 15, 2024

@FauricioValencia did you set the correct redirect_uri also inside keycloak admin panel?

from react-native-keycloak.

FauricioValencia avatar FauricioValencia commented on June 15, 2024

@IronTony I'm not sure where I should set the redirect_uri

image

from react-native-keycloak.

IronTony avatar IronTony commented on June 15, 2024

@FauricioValencia The path is this one: Clients -> Settings -> Valid Redirect URIs
Obviously the url in the app and this one must match!

from react-native-keycloak.

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.