Giter Site home page Giter Site logo

Comments (12)

baltom avatar baltom commented on June 12, 2024 15

As previously mentioned in other issues we are keeping keycloak-js at the current version because of redhat-sso using said version. So it won't be updated until there is a redhat-sso version with corresponding keycloak version.

In the release notes you linked there is also a way to make redirect_uri work with 18+ versions of keycloak



There is a backwards compatibility option, which allows your application to still use the old format of the redirect_uri parameter.

You can enable this parameter when you start the server by entering the following command:

     bin/kc.[sh|bat] --spi-login-protocol-openid-connect-legacy-logout-redirect-uri=true start

With this configuration, you can still use the format with the redirect_uri parameter. Note the confirmation screen will be needed if the id_token_hint is omitted.

from vue-keycloak-js.

hendisantika avatar hendisantika commented on June 12, 2024 4

You don't need to downgrade @joe105598055 . You need to upgrade your Keycloak-js libs. It also solved the issue.

from vue-keycloak-js.

baltom avatar baltom commented on June 12, 2024 4

@theolevisage yeah, it is indeed. So we can bump up the keycloak-js dependency. And won't need the workaround to support old format

from vue-keycloak-js.

julioAzocar avatar julioAzocar commented on June 12, 2024 1

el logout se me arreglo y me funciono asi
Valid redirect URIs : http://localhost:4200/*
Valid post logout : http://localhost:4200/*
Web origins : http://localhost:4200/*

from vue-keycloak-js.

cdecinkoKnight avatar cdecinkoKnight commented on June 12, 2024 1

I'm using keycloak-js 19.0.3 and getting the indicated error with Keycloak 21.x

from vue-keycloak-js.

hendisantika avatar hendisantika commented on June 12, 2024

Thanks @baltom ... You help me a lot.

from vue-keycloak-js.

joe105598055 avatar joe105598055 commented on June 12, 2024

I meet the same problem.
In my case, I downgrade [email protected] to [email protected].
That works for me.

https://quay.io/repository/keycloak/keycloak?tab=tags&tag=17.0.1

from vue-keycloak-js.

robson90 avatar robson90 commented on June 12, 2024

@hendisantika was right. I updated Keycloak-JS and it worked.

from vue-keycloak-js.

theolevisage avatar theolevisage commented on June 12, 2024

@baltom If I'm not mistaken, redhat recently upgraded to [email protected] which uses [email protected]
https://access.redhat.com/articles/2342881

from vue-keycloak-js.

JavaPantry avatar JavaPantry commented on June 12, 2024

Is this issue fixed? I upgrade vue-keycloak-js to latest "@dsb-norge/vue-keycloak-js": "^2.1.5-beta", on keycloak-18.0.0 still receive error log message " Parameter 'redirect_uri' no longer supported. Please use 'post_logout_redirect_uri' with 'id_token_hint' for this endpoint."

I'm not sure how to upgrade keycloak-js to version 18.0.0 in my package.json.

Thank you for your help.

from vue-keycloak-js.

katzekro avatar katzekro commented on June 12, 2024

el logout se me arreglo y me funciono asi Valid redirect URIs : http://localhost:4200/* Valid post logout : http://localhost:4200/* Web origins : http://localhost:4200/*

Gracias, tambien me funciono.

from vue-keycloak-js.

nrankovic avatar nrankovic commented on June 12, 2024

@theolevisage yeah, it is indeed. So we can bump up the keycloak-js dependency. And won't need the workaround to support old format

I agree with @baltom. This is the only valid solution to this issue. Issue is not in Keycloak application but in js adapter itself, it is not fully compatible since it is outdated. Enabling legacy features and changing Keycloak configuration should only be a workaround in development stage.

from vue-keycloak-js.

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.