Skip to content

Build a skeleton of the auth project #15

Description

@nstarlike

The auth project is to authenticate and authorize clients which want to be provided the services from the backend. This project uses the OAuth2 authorization framework with Spring Authorization Server.

The following is the list you should follow to build a skeleton in order.

  • Add the Spring Authorization Server dependency.
  • Configure the server in the application.yml file for the OAuth2.
  • Define required components which are
    SecurityFilterChain,
    UserDetailsService,
    RegisteredClientRepository,
    JWKSource,
    JwtDecoder,
    AuthorizationServerSettings.

And refer to the link, [Spring Authorization Server]https://docs.spring.io/spring-authorization-server/reference/getting-started.html
I'll wish you luck!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions