Skip to content

Spring boot3 OAuth2 GitHub Authorization Server for Social Login.

Notifications You must be signed in to change notification settings

tokishorbankar/learn-spring-boot3-oauth2-github

Repository files navigation

Spring boot3 OAuth2 GitHub Authorization Server for Social Login.

  • Demo project for OAuth2 + Spring-boot3 + GitHub as Authorization server.

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

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

About

Spring boot3 OAuth2 GitHub Authorization Server for Social Login.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages