Skip to content

Provide Sample Project using OAuth2 #1195

Description

@beijixing1745

use spring boot 2.1.3.RELEASE,spring cloud Greenwich.SR1,with spring boot admin 2.1.3。
now ,spring boot admin client register its self to admin server, admin server get client application actuator info use spring security basic 。
we protect our micro service application with spring security oauth2,how can I do?
thanks!

Activity

  1. changed the title [-]spring boot admin with oauth2[/-] [+]Provide Sample Project using OAuth2[/+] on Jul 1, 2019
  2. daxian-zhu commented on Aug 30, 2019

    @daxian-zhu

    @joshiste
    How to Solve the Problem

  3. daxian-zhu commented on Aug 30, 2019

    @daxian-zhu

    I I want to add a parameter at the request header of scan requests

  4. luje commented on Aug 30, 2019

    @luje

    I've created this repository with a working demo of an Oauth2 configuration https://github.com/luje/spring-boot-admin-oauth-demo

  5. deleted a comment from ffeiko on Sep 23, 2019
  6. AlexeyGold2077 commented on Jul 9, 2026

    @AlexeyGold2077

    Hi @erikpetzold and team!
    I see that PR #4594 has been inactive for almost a year. The OAuth2 sample is a highly requested feature, and I would love to take over this issue and implement it properly.

    I will:

    • Keep the dependencies minimal and clean.
    • Ensure proper architecture (Admin Server as OAuth2 client, monitored app as Resource Server), fixing the confusion from the previous PR.
    • Provide actual documentation inside the sample.

    Since you mentioned moving samples to spring-boot-admin-runtime-playground, should I create a Pull Request there instead of the main repo? Please let me know where you'd prefer to see this implementation, and I'll get to work!

  7. ahoehma commented on Jul 10, 2026

    @ahoehma

    I'm running sba with oauth2 (entra-id) user authentication already. And my sba-clients itself have oauth2 for there rest-api and basic auth for actuator (used by sba). This works since >1 year :)

    Or what is the problem @beijixing1745 ?

  8. SteKoe commented on Jul 12, 2026

    @SteKoe
    Contributor

    Hey @AlexeyGold2077,

    Since you mentioned moving samples to spring-boot-admin-runtime-playground, should I create a Pull Request there instead of the main repo? Please let me know where you'd prefer to see this implementation, and I'll get to work!

    Yes, please feel free to do so! TIA!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions