Skip to content

OKaluzny/spring-boot-security-oauth2-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Security OAuth2 Google and Angular JS

Microservice using OAuth 2.0 and OpenID Connect to authenticate in the Google and get information to user.

Technology stack:

  • Maven;
  • Spring Boot;
  • Spring Web;
  • Spring Security;
  • OAuth2 authentication;
  • Angular JS, HTML, CSS.

1. For registration your app in Google App, perform the following steps:

  • Go to https://console.developers.google.com and login with your Google account (this will be the developer account and the email of this account will be published when someone tries to authenticate with the Google application).
  • If you don't have a project create a new one and then click into the project.
  • In the menu "API manager" on the left side select "Credentials" --> "Create credentials" --> "OAuth client ID".

alt tag

alt tag

  • Copy the client ID and client Secret and update the application.yml

alt tag

2. To run this application use:

mvn spring-boot:run

###3. Open browser and browse at http://localhost:8181/google/login

About

Microservice using OAuth 2.0 and OpenID Connect to authenticate into Google and get information to a user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published