This article provides basic steps to enable google sign-in with a simple spring boot web application. You will learn how to enable google sign-in authentication with spring security.

The code for this example can be found in my Github repository

You need the following prerequisite

A text editor or IDE

JDK 1.8 or the latest

Gradle 4+ or Maven 3.2+

Google account

Basic understanding of OAuth 2.0 Authentication process

There are two ways to enable authentication and authorization to web applications. …


This article guides you through the basic Authentication and Authorization using spring security set up with a simple web application. You will learn to build a basic spring boot MVC web application with user role-based resource access using spring security.

The code for this example can be found in my Github repository.

You need the following prerequisite

A text editor or IDE

JDK 1.8 or later

Gradle 4+ or Maven 3.2+

Generate a Spring boot project using Spring Initializr

Image for post
Image for post
Spring Initializr

Generate Spring application using Spring Initializr. The Spring Initializer helps you to generate a spring boot application quickly with needed dependencies. This project needs the spring web, Thymeleaf, and spring security. …

About

Yatheesan Chandreswaran

Senior Software Engineer at Zone24x7

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store