Skip to main content

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.
Works with
JavaSpring Boot

What you get​

  • Sign-in with no security configuration class.
  • A controller method with @RequirePermission.
  • The lumoauth health 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​

VariableValue
lumoauth.urlhttps://app.lumoauth.dev
lumoauth.org-idYour organization.
lumoauth.login.client-idThe client ID of a confidential application.
lumoauth.login.client-secretIts secret.

Next steps​