Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Spring Stateless Minimal Example #966

Open
deklaer opened this issue Dec 13, 2023 · 1 comment
Open

Documentation for Spring Stateless Minimal Example #966

deklaer opened this issue Dec 13, 2023 · 1 comment

Comments

@deklaer
Copy link

deklaer commented Dec 13, 2023

Please provide a documentation like how to create a simple stateless! spring boot application using your libary.
This was a good start. But I've tried several mechanisms and always ended up using a stateful application with a session.
In spring 3.x I would add this line

http.sessionManagement { sessionManagement: SessionManagementConfigurer<HttpSecurity?> -> sessionManagement.sessionCreationPolicy( SessionCreationPolicy.STATELESS ) }
And then set 'session-stateless: on' in my application.yml. But the system always tells me "too many redirects" even if the URL is correct. So I found it very hard without any nice examples of 'https://learn.microsoft.com' to understand what would be a minimal example. If I can run this example - I have a starting point.

@Netyyyy
Copy link
Member

Netyyyy commented Dec 18, 2023

Hi @deklaer , could you try with this sample?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants