Skip to content

Add Spring Security and OAuth 2 to the mix #15

@ebouchut

Description

@ebouchut

Add Spring Security and OAuth 2


Spring Security

  • Add the Maven dependency spring-boot-starter-security
  • Directives:
    • Authentication is required on ALL pages, including home, to make things simpler

Add OAuth 2

  • Add OAuth 2 Client Dependency to pom.xml:
    <dependencies>
        <dependency>
          <groupid>springframework.boot</groupId>
          <wartifactId>spring-boot-starter-oauth-clients/artifactId>
        <dependency>
        <!-- .. -->
    <dependencies>

Next up, figure out (i.e., read the docs) out to use them.
Bon chance!

Metadata

Metadata

Assignees

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions