Comments (2)
Thanks, @dreamstar-enterprises, will you please share a minimal reproducer to help get to the bottom of the issue faster?
from spring-security.
I have a 6 week code base to try and do this (I only have half a auth server working, and the resource server sort of works)
I've since been able to get past the above problem I can't though get the auth server url redirection to work without using HttpSessionSecurityContextRepository
It did not work on Null or RequestAttribute version - as on the re-direct, it just couldn't find the authenticated principal.
I don't know if it is best practice, but I ended up setting the session time to 5 seconds.
I do wish there was just ONE comprehensive guide that explained how to connect (even if it was not a 20min read, but a 90 min read...):
- Angular (User Agent)
- Spring Client Auth (BFF)
- Spring Auth Server (Stateless if possible, using Opaque Tokens)
- Spring Resource Server (Rest Statless, but with a caching strategy of the Authentication Objects, so the introspection endpoint isn't queried on every request)
And how to host the Spring Servers, where and how to use Spring Gateway or Spring Session / Redis
I've spent 6 weeks on this, but really do feel I haven't go very far : (
Thanks for the help so far though. Do you do consultancy work? I have a small budget.
from spring-security.
Related Issues (20)
- Configure Build to Confirm UnboundId 7 Compatibility
- Introduce `UserAuthorities`
- Support doing a Token Exchange of access token from OIDC login HOT 2
- OIDC Backchannel Logout should allow logout tokens having `typ` header of `logout+jwt`
- Cannot get Stateless Authorisation Server to work HOT 2
- Dynamic register SecurityFilterChain HOT 2
- Spring do not support 401 unauthorized responce by default HOT 1
- Documentation for ServletBearerExchangeFilterFunction incomplete or incorrect HOT 1
- Consider removing generics from `AuthorizationRequestRepository` HOT 2
- How can classpath public key values be utilized in the OAuth2 client jwks_uri? HOT 6
- Spring Security OAuth2 Client "user-name-attribute" property is being ignored HOT 1
- Method Annotations Should Support @AliasFor
- Using sec:authorize in JSPX causes 'java.lang.NullPointerException: Cannot invoke "jakarta.servlet.ServletRegistration.getClassName()" because "registration" is null'
- Using sec:authorize in JSPX causes 'java.lang.NullPointerException: Cannot invoke "jakarta.servlet.ServletRegistration.getClassName()" because "registration" is null'
- Broken documentation link for 6.4.0-M1 HOT 1
- Consider allowing to hide UserNotFoundException in PreAuthenticatedAuthenticationProvider HOT 1
- Enhance the BackChannelLogoutConfigurer to make the session cookie name configurable. HOT 1
- Illegal group reference HOT 1
- Documentation for ServletBearerExchangeFilterFunction incomplete or incorrect
- Documentation for ServletBearerExchangeFilterFunction incomplete or incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-security.