Coder Social home page Coder Social logo

Comments (5)

HJK181 avatar HJK181 commented on June 10, 2024 1

I already tried both of the suggested, without success.

I also tried to debug it and found that when requesting the task-service, the Spring DefalutTokenServices loads the InMemoryTokenStore in the field tokenStore where on request to the user-service the JdbcTokenStore get's loaded.

I assume there is some missing configuration on the task-service but I'm not that familiar with all that Spring magic yet. Do you have any idea whats going wrong?

from microservices-basics-spring-boot.

HJK181 avatar HJK181 commented on June 10, 2024

Same for me, can you please help?

from microservices-basics-spring-boot.

anilallewar avatar anilallewar commented on June 10, 2024

It means that the access token you acquired earlier has expired (Spring default access token validity is 12 hours). There are 2 options available

  1. Open the app in an InCognito Window in chrome. Since Chrome doesn't store local storage in InCognito mode, you will be prompted for user name/password and will be able to generate a new token.
  2. Click on the "Refresh Token" link in the menu for the current app. This will generate a new access token based on the refresh token. Note that the default refresh token validity is 30 days.

from microservices-basics-spring-boot.

PatrickHuetter avatar PatrickHuetter commented on June 10, 2024

Same problem here.

from microservices-basics-spring-boot.

anilallewar avatar anilallewar commented on June 10, 2024

Moved the Web portal out - replaced with Swagger API at the API gateway level.

from microservices-basics-spring-boot.

Related Issues (13)

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.