Skip to content

scalekit-developers/scalekit-springboot-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Scalekit Spring Boot Example

Spring Boot Java License: MIT

A comprehensive Spring Boot application demonstrating Scalekit's enterprise authentication integration. This example shows how to implement SSO authentication flows in a Java/Spring Boot application.

🚀 What This Demo Shows

  • Enterprise SSO: SAML and OIDC authentication flows using Scalekit
  • Spring Boot Integration: Modern Java web application patterns
  • Maven Build System: Standard Java dependency management
  • Session Handling: Secure user session management
  • RESTful APIs: Clean API endpoints for authentication
  • Frontend Integration: React UI components for user interface

Running The App

To get a local copy up and running follow these simple steps.

# Add ReactJS submodule for frontend elements 
git clone --recursive https://github.com/scalekit-developers/shared-ui-for-examples.git
  • Get you env_url, client_id and client_secret from the Scalekit dashboard.
  • update the application.properties file with your credentials
scalekit.client.id=client_id
scalekit.client.secret=client_secret
scalekit.environment.url=env_url
  • mvn clean install to install all dependencies mvn clean install
  • mvn spring-boot:run to start the application
  • App will start on port 8080

Running Sample UI

The spring boot app runs as standalone app. To run the sample UI, follow the steps below:

  • Navigate to the web directory
  • Run npm install to install all dependencies
  • Run npm start to start the app
  • Open http://localhost:3000 to view it in the browser.
  • Use your sample connections, organizations and users to test the app

About

Spring Boot SSO example - Java enterprise authentication with Spring Security integration

Topics

Resources

License

Stars

Watchers

Forks

Contributors