Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.04 KB

Spring boot OAuth2 Social Login

A sample project that shows how to implement OAuth2 login using Github as a resource server

Application diagram

Diagram

OAuth2.0 flow (How things really work in action)

Diagram

Steps to create a gitHub application

Update the application.yml file

After creating a new application, you will a client ID and a client secret. Copy this two information and paste the in the application.yml file

spring:
  security:
    oauth2:
      client:
        registration:
          github:
            clientId: github-app-client-id-here
            clientSecret: github-app-client-secret-here

Start the application and enjoy your Social-login