Spring Boot
A Spring Boot app with sign-in from properties, bearer tokens for its API, and a permission annotation.
StarterPlanned
This example is planned. Not built yet. This page is the specification for the example.
What you get
- Sign-in with no security configuration class.
- A controller method with
@RequirePermission. - The
lumoauthhealth indicator.
Create it
Add the starter to a Spring Boot project:
<dependency>
<groupId>io.lumoauth</groupId>
<artifactId>lumo-auth-spring-boot-starter</artifactId>
</dependency>
Settings
| Variable | Value |
|---|---|
lumoauth.url | https://app.lumoauth.dev |
lumoauth.org-id | Your organization. |
lumoauth.login.client-id | The client ID of a confidential application. |
lumoauth.login.client-secret | Its secret. |
Next steps
- Protect your API: Protect routes in each framework.