aah icon indicating copy to clipboard operation
aah copied to clipboard

Move stateless/stateful at each auth scheme level

Open radutopala opened this issue 6 years ago • 0 comments

We should be able to set stateless / stateful on each auth scheme independently, because an app may have 2 or more auth schemes, for example jwt/generic with stateless and form with stateful.

Current solution from @jeevatkm: achieve the stateless via interceptor (https://docs.aahframework.org/interceptors.html) - define action or controller level Finally interceptor and then call ctx.Session().Clear() or ctx.Subject().Logout().

radutopala avatar Jan 06 '19 18:01 radutopala