All Projects → oktadeveloper → Okta Spring Boot React Crud Example

oktadeveloper / Okta Spring Boot React Crud Example

Licence: apache-2.0
Simple CRUD with React and Spring Boot 2.0

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Okta Spring Boot React Crud Example

okta-spring-boot-react-crud-example
Simple CRUD with React and Spring Boot 2.0
Stars: ✭ 214 (+21.59%)
Mutual labels:  crud, jpa, csrf
Springboot Registration Login Theperfectexample
Login & Signup tutorial for every website ,mixes a lot of microservices together with the latest spring framework api in combined with full security
Stars: ✭ 89 (-49.43%)
Mutual labels:  jpa, spring-boot, authentication
Okta Spring Boot 2 Angular 7 Example
A Cool Cars Example that showcases Spring Boot 2.1, Angular 7, and Okta's support for both.
Stars: ✭ 87 (-50.57%)
Mutual labels:  spring-boot, authentication
Jplusone
Tool for automatic detection and asserting "N+1 SELECT problem" occurences in JPA based Spring Boot Java applications and finding origin of JPA issued SQL statements in general
Stars: ✭ 91 (-48.3%)
Mutual labels:  jpa, spring-boot
Spring Boot 2.x Examples
Spring Boot 2.x code examples
Stars: ✭ 104 (-40.91%)
Mutual labels:  jpa, spring-boot
Spring Boot Oauth2 Jwt Swagger Ui
Spring Boot , OAuth 2 , JWT (Json Web Token) and Swagger UI
Stars: ✭ 77 (-56.25%)
Mutual labels:  spring-boot, authentication
Spring Boot Sample App
Sample app generated from my spring boot archtype on :https://github.com/Romeh/spring-boot-quickstart-archtype
Stars: ✭ 81 (-53.98%)
Mutual labels:  jpa, spring-boot
Sample Boot Hibernate
Spring Boot + JPA ( Hibernate ) + Java8 [ DDD Sample ]
Stars: ✭ 97 (-44.89%)
Mutual labels:  jpa, spring-boot
Cas Gradle Overlay Template
CAS Gradle Overlay: Generic CAS gradle war overlay to exercise the latest versions of CAS
Stars: ✭ 69 (-60.8%)
Mutual labels:  spring-boot, authentication
Cli Spring Boot Scaffold
command line for generate crud and configs for spring boot projects
Stars: ✭ 113 (-35.8%)
Mutual labels:  spring-boot, crud
Spring Webmvc Pac4j
Security library for Spring Web MVC: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 110 (-37.5%)
Mutual labels:  spring-boot, authentication
Xxl Sso
A distributed single-sign-on framework.(分布式单点登录框架XXL-SSO)
Stars: ✭ 1,635 (+828.98%)
Mutual labels:  spring-boot, authentication
Cas
Apereo CAS - Enterprise Single Sign On for all earthlings and beyond.
Stars: ✭ 9,154 (+5101.14%)
Mutual labels:  spring-boot, authentication
Curso Sistemas Web Com Spring Javascript Bootstrap
Stars: ✭ 74 (-57.95%)
Mutual labels:  jpa, spring-boot
Spring Boot Webflux Jjwt
Example Spring Boot and WebFlux (Reactive Web) with Spring Security and JWT for token Authentication and Authorization
Stars: ✭ 71 (-59.66%)
Mutual labels:  spring-boot, authentication
Spring Security React Ant Design Polls App
Full Stack Polls App built using Spring Boot, Spring Security, JWT, React, and Ant Design
Stars: ✭ 1,336 (+659.09%)
Mutual labels:  spring-boot, authentication
Okta Spring Boot 2 Angular 5 Example
A Cool Cars Example that showcases Spring Boot 2, Angular 5, and Okta's Support for both.
Stars: ✭ 135 (-23.3%)
Mutual labels:  spring-boot, authentication
Mern Stack Authentication
Secure MERN Stack CRUD Web Application using Passport.js Authentication
Stars: ✭ 60 (-65.91%)
Mutual labels:  crud, authentication
Kotlin Spring Boot Jpa Rest Api Demo
Build a Restful API with Kotlin, Spring Boot, Mysql, Jpa and Hibernate
Stars: ✭ 67 (-61.93%)
Mutual labels:  jpa, spring-boot
Spring Kotlin Exposed
playground for spring-boot 2.*, kotlin , jetbrains-exposed, postgres, jsonb, flyway, docker
Stars: ✭ 106 (-39.77%)
Mutual labels:  jpa, spring-boot

JUG Tours with Spring Boot and React

This example app shows how to create a Spring Boot API and CRUD (create, read, update, and delete) its data with a React app.

Please read Use React and Spring Boot to Build a Simple CRUD App to see how this app was created.

Prerequisites: Java 8, Node.js 8+, and Yarn. You can use npm instead of Yarn, but you'll need to translate the Yarn syntax to npm.

Okta has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage, and secure users and roles in any application.

Getting Started

To install this example application, run the following commands:

git clone https://github.com/oktadeveloper/okta-spring-boot-react-crud-example.git spring-react
cd spring-react

This will get a copy of the project installed locally. To install all of its dependencies and start each app, follow the instructions below.

To run the server, run:

./mvnw spring-boot:run

To run the client, cd into the app folder and run:

yarn && yarn start

Create an Application in Okta

You will need to create an OIDC Application in Okta to get your values to perform authentication.

Log in to your Okta Developer account (or sign up if you don’t have an account) and navigate to Applications > Add Application. Click Web, click Next, and give the app a name you’ll remember. Specify http://localhost:8080/login/oauth2/code/okta as a Login redirect URI. Click Done, then click Edit to edit General Settings. Add http://localhost:3000 and http://localhost:8080 as Logout redirect URIs, then click Save.

Server Configuration

Set the issuer and copy the clientId and clientSecret into src/main/resources/application.yml.

NOTE: The value of {yourOktaDomain} should be something like dev-123456.oktapreview.com. Make sure you don't include -admin in the value!

spring:
  profiles:
    active: @[email protected]
  security:
    oauth2:
      client:
        registration:
          okta:
            client-id: {clientId}
            client-secret: {clientSecret}
            scope: openid email profile
        provider:
          okta:
            issuer-uri: https://{yourOktaDomain}/oauth2/default

Links

This example uses the following open source libraries:

Help

Please post any questions as comments on the blog post, or visit our Okta Developer Forums. You can also email [email protected] if you'd like to create a support ticket.

License

Apache 2.0, see LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].