Coder Social home page Coder Social logo

refresh token about springboot-react-keycloak HOT 3 CLOSED

ivangfr avatar ivangfr commented on August 17, 2024
refresh token

from springboot-react-keycloak.

Comments (3)

ivangfr avatar ivangfr commented on August 17, 2024 1

Hi @frhack Good question!

I've checked the settings of the company-services Realm that the app creates. You can find it in Realm setting menu -> Tokens tab. There is a Refresh token toggle button.

Screenshot 2022-11-02 at 15 18 37

In my app, it is disabled (by default). I haven't explored much about it, as I am using access tokens.

from springboot-react-keycloak.

frhack avatar frhack commented on August 17, 2024

Hi @frhack Good question!
...
In my app, it is disabled (by default). I haven't explored much about it, as I am using access tokens.

Thanks for the answer.

The toggle you show is for "Revoke Refresh Token" (to enable revocation of the refresh token), not to enable "Refresh token"
So it seams that the refresh token is already enabled in Keycloack.

Refresh token is not an alternative to the Access token: it works in conjuction with the access token

An OAuth Refresh Token is a string that the OAuth client can use to get a new access token without the user's interaction.

It's very useful to improve security.

Thanks to the refresh token, we can use very short lived access tokens, and refresh it trasparently

https://auth0.com/learn/refresh-tokens

from springboot-react-keycloak.

ivangfr avatar ivangfr commented on August 17, 2024

Cool, thanks for the detailed explanation.

Yes, it seems that refresh token is already enabled in Keycloak.

from springboot-react-keycloak.

Related Issues (12)

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.