Comments (7)
@jzheaux can I help with this task?
from spring-security-samples.
Yes, @ThomasVitale, that would be most welcome. We're moving our samples over to https://github.com/spring-projects/spring-security-samples, so I'm going to transfer this issue over there.
I think it would be helpful to have a new sample that's focused on OIDC, including logout. The existing oauth2Login samples are a showcase of common providers, but not all of them support OIDC. Publishing the OidcClientInitiatedLogoutSuccessHandler
in those samples could be confusing.
Would you be able to create a new sample?
from spring-security-samples.
@jzheaux Yes, I can do that. Should I use only one OIDC provider in the sample? For example, would Keycloak be ok? Any recommendation for the name of the project (that I guess should go in spring-security-samples/servlet/spring-boot/java/oauth2
).
from spring-security-samples.
Yep, I think that one provider would be fine. For now, it might be best to leave placeholders for the properties, similar to how the oauth2Login samples do it. Since Okta offers free dev accounts and they support OIDC, you could borrow the other samples' Okta instructions for the README.
For a name, I'd do oidc/login
, as in spring-security-samples/servlet/spring-boot/java/oidc/login
.
from spring-security-samples.
Perfect, thank you. I'll do that.
from spring-security-samples.
@ThomasVitale have you had a chance to look into this?
from spring-security-samples.
Hi guys, am facing an issue with the spring oauth2 authorization server. Once the user signs in for the first time using the authorization code flow, the next time they try to log in they are automatically logged in without filling in the username and password, which is not the desired behavior for me. Is there a way to log them out completely so that they will have to fill in the form again to log in?? please any help would go a long way? I am stuck, I have also posted this question on stack overflow, you can follow this link https://stackoverflow.com/questions/70735327/spring-oauth2-authorization-server-unable-to-logout-users
from spring-security-samples.
Related Issues (20)
- Update Saml2 Federation Sample
- Fix sync scripts
- Sync dependency versions
- DaoAuthenticationProvider HOT 5
- Can you provide a simple example of ajax login HOT 1
- Keep samples updated with latest patch versions HOT 2
- Add -parameters to compiler args
- More complete examples for webflux request
- Multi-factor authentication: The second factor can be skipped
- Migrating from Spring Security SAML extension project to SAML2 authentication using Spring Boot 3.X version and Java 17 HOT 2
- AspectJInterceptorTests fails with Spring Framework 6.1.0 SNAPSHOTs
- Upgrade to Gradle 8.3
- Multi factor authentication always redirect to /login even when using correct code for /second-factor HOT 10
- `HiddenHttpMethodFilter` configuration in the `hello-mvc-security` example project? HOT 1
- Add CAS Gateway sample
- Unable to Retrieve Refresh Token HOT 4
- The branch is 6.2.x, but the dependency is 6.1.1 HOT 3
- spring-security-samples/servlet/spring-boot/java/oauth2/login doesn't run HOT 2
- Can the saml-extension-federation be used as a service provider / relying party with non-spring java web apps deployed to tomcat?
- [invalid_scope] OpenID Connect 1.0 authentication requests are restricted. HOT 1
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-samples.