dmitryvinn / okta-springboot-html5

Okta Integration with Spring Boot and HTML Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Okta Integration with Spring Boot+HTML5

Overview

Simple TODO app built on top of Spring Boot and HTML5.

Running the App

To start the application, you will need to update its application.yaml with next properties:

okta.oauth2.issuer: {Find in your Dashboard, top right corner}
okta.oauth2.clientId: {Created as a part of your Okta Web App}
okta.oauth2.clientSecret: {Created as a part of your Okta Web App}

After your Okta integration is configured, you will need to start the app:

gradle bootRun

Using the App

Assuming the app runs on the default port, go to http://localhost:8080:

figure1 Figure 1: Home Screen of Demo App

The application will require you to login using the credentials specified in your Okta Dashboard. By default, you have at least one user associated with the email you used to create Okta App:

figure2 Figure 2: Okta Authentication Widget

After you're authenticated, go ahead and create new todo items, delete existing ones or complete items you are done with.

figure3 Figure 3: Okta Authentication Widget

Note

If you encounter an exception, "400 Bad Request; The 'redirect_uri' parameter must be an absolute URI", follow steps described here.

Acknowledgments

This project is based:

About

Okta Integration with Spring Boot and HTML Example


Languages

Language:HTML 83.4%Language:Java 16.6%