Tutorial: Get Started With Kotlin
This repository contains the code of a Spring Boot Kotlin application example with Okta OpenID Connect authentication.
Prerequisites:
Getting Started
To install this example, run the following commands:
git clone https://github.com/indiepopart/kotlin-spring-boot.git
cd kotlin-spring-bootConfigure an Okta Account
./mvnw com.okta:okta-maven-plugin:setupYou should see the following output:
First name: Jimena
Last name: Garbarino
Email address: ***
Company: ***
Creating new Okta Organization, this may take a minute:
OrgUrl: https://dev-640429.okta.com
Check your email address to verify your account.
Writing Okta SDK config to: /home/indiepopart/.okta/okta.yaml
Configuring a new OIDC, almost done:
Created OIDC application, client-id: ***
Check your email and follow the instructions to activate your Okta account.
Run with Maven
./mvnw spring-boot:runGo to http://localhost:8080 and login with Okta.