Code Monkey home page Code Monkey logo

Comments (7)

ThomasVitale avatar ThomasVitale commented on May 22, 2024

@jzheaux can I help with this task?

from spring-security-samples.

jzheaux avatar jzheaux commented on May 22, 2024

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.

ThomasVitale avatar ThomasVitale commented on May 22, 2024

@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.

jzheaux avatar jzheaux commented on May 22, 2024

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.

ThomasVitale avatar ThomasVitale commented on May 22, 2024

Perfect, thank you. I'll do that.

from spring-security-samples.

marcusdacoregio avatar marcusdacoregio commented on May 22, 2024

@ThomasVitale have you had a chance to look into this?

from spring-security-samples.

erycoking avatar erycoking commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.