azure-spring-boot icon indicating copy to clipboard operation
azure-spring-boot copied to clipboard

Documentation for Spring Stateless Minimal Example

Open deklaer opened this issue 2 years ago • 1 comments

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.

deklaer avatar Dec 13 '23 15:12 deklaer

Hi @deklaer , could you try with this sample?

Netyyyy avatar Dec 18 '23 07:12 Netyyyy

Close the issue for long term inactivity

Netyyyy avatar Aug 27 '24 07:08 Netyyyy