Skip to content

fiallega/spring-session-oauth-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-session-oauth-gateway

replicate issue for calls made to the gateway returning a 302 after reloading the application with active session in redis

Configuraton

  • Replace "fill-in" placeholders in application.yml with true values
  • You need a redis instance
  • You need an Oauth2 Server
  • You need to register the application with the Oauth2 Server

Endpoints

Reproducing Problem

  1. Start Application.
  2. User requests loading application in the browser: https://localhost:9093/hello.html
  3. Session is successfully created in Redis.
  4. User redirected to the Oauth2 Server for Authentication
  5. User Authenticates
  6. User redirected to application after successful login.
  7. Application loads in browser without a problem.
  8. User requests a gateway resource: https://localhost:9093/entries
  9. Resources loads fine with a 200.
  10. Everything great so far.
  11. Restart the server.
  12. (Session still active, saved on Redis)
  13. User requests the gateway resource (https://localhost:9093/entries).
  14. Resources returns 302 and redirected to the Ouath Server (BAD)

About

replicate issue for calls made to the gateway returning a 302 after reloading the application with active session in redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages