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.
- 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
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_idandclient_secretfrom 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:runto start the application- App will start on port 8080
The spring boot app runs as standalone app. To run the sample UI, follow the steps below:
- Navigate to the web directory
- Run
npm installto install all dependencies - Run
npm startto start the app - Open http://localhost:3000 to view it in the browser.
- Use your sample connections, organizations and users to test the app