Home / Companies / FusionAuth / Blog / Post Details
Content Deep Dive

Adding sign in to your Spring web application using OIDC

Blog post from FusionAuth

Post Details
Company
Date Published
Author
Bradley Van Aardt
Word Count
2,107
Language
English
Hacker News Points
-
Summary

This tutorial guides users through building a basic Java and Spring web application that utilizes FusionAuth for user registration and authentication. The application features a simple login system with an optional "secret" area where users can view their profile via OpenID Connect (OIDC). Users are prompted to set up an admin user and password, enable self-service registrations, and configure the JWT parameters in FusionAuth. The tutorial also covers setting up Spring Boot OAuth 2.0 client configuration, adding a home page and controller, creating a user controller to show the logged-in user their profile on FusionAuth, and testing the application. Ultimately, the goal is to demonstrate how FusionAuth can simplify authentication and security for Java-based web applications.