All Projects → oktadev → okta-spring-boot-react-crud-example

oktadev / okta-spring-boot-react-crud-example

Licence: Apache-2.0 license
Simple CRUD with React and Spring Boot 2.0

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

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: ✭ 176 (-17.76%)
Mutual labels:  crud, jpa, csrf
csrf-login
Login from command line to the websites that use CSRF protection
Stars: ✭ 18 (-91.59%)
Mutual labels:  csrf, csrf-protection
fastify-csrf
A fastify csrf plugin.
Stars: ✭ 88 (-58.88%)
Mutual labels:  csrf, csrf-protection
spring-security-jwt-csrf
A demonstration of stateless JWT authentication with Spring Security, Spring Boot and Vue js
Stars: ✭ 62 (-71.03%)
Mutual labels:  csrf, csrf-protection
Next Auth
Authentication for Next.js
Stars: ✭ 8,362 (+3807.48%)
Mutual labels:  csrf, oidc
spring-boot-data-jpa-mysql
Spring Boot Rest CRUD API example - Spring Data JPA to interact with MySQL/PostgreSQL database.
Stars: ✭ 89 (-58.41%)
Mutual labels:  crud, jpa
www-project-csrfguard
The aim of this project is to protect Java applications against CSRF attacks with the use of Synchronizer Tokens
Stars: ✭ 43 (-79.91%)
Mutual labels:  csrf, csrf-protection
gluu-gateway
Gluu API 🚀 and Web Gateway 🎯
Stars: ✭ 29 (-86.45%)
Mutual labels:  oidc
core
Enterprise Grade #NodeJS Platform implementing Industry Standards & Patterns in order to provide Connectivity, Stability, High-Availability and High-Performance
Stars: ✭ 54 (-74.77%)
Mutual labels:  oidc
Polyel-Framework
⚡️ Voltis Core: A PHP framework based on Swoole from the ground up
Stars: ✭ 22 (-89.72%)
Mutual labels:  csrf-protection
express-crud-router
Simply expose resource CRUD (Create Read Update Delete) routes for Express & Sequelize. Compatible with React Admin Simple Rest Data Provider
Stars: ✭ 109 (-49.07%)
Mutual labels:  crud
node-typescript-starter
REST API using Node with typescript, KOA framework. TypeORM for SQL. Middlewares JWT (auth), CORS, Winston Logger, Error, Response
Stars: ✭ 19 (-91.12%)
Mutual labels:  crud
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 (-59.35%)
Mutual labels:  oidc
Exemplos
Este repositório guarda exemplos de códigos e aplicações para você reaproveitar em seus projetos.
Stars: ✭ 60 (-71.96%)
Mutual labels:  crud
springboot-crud-restful-webservices
Spring Boot, MySQL, JPA, Hibernate Restful CRUD API Tutorial
Stars: ✭ 41 (-80.84%)
Mutual labels:  jpa
account-sdk-browser
Schibsted Account SDK for browsers
Stars: ✭ 16 (-92.52%)
Mutual labels:  oidc
ionicfirebasecrud
An example of crud with Firebase and Ionic
Stars: ✭ 15 (-92.99%)
Mutual labels:  crud
maricutodb
PHP Flat File Database Manager
Stars: ✭ 23 (-89.25%)
Mutual labels:  crud
spiced-final-project
Career explorer platform developed in React.js in 6 days.
Stars: ✭ 14 (-93.46%)
Mutual labels:  csrf-protection
BloodMS
🔥 🔥 🔥 A blood management project. 🔥 🔥 🔥
Stars: ✭ 48 (-77.57%)
Mutual labels:  crud

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 11 and Node.js 16+

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/oktadev/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:

npm i && npm start

Create an Application in Okta

Before you begin, you'll need a free Okta developer account. Install the Okta CLI and run okta register to sign up for a new account. If you already have an account, run okta login.

Then, run okta apps create. Select the default app name, or change it as you see fit. Choose Web and press Enter.

Select Okta Spring Boot Starter. Accept the default Redirect URI of http://localhost:8080/login/oauth2/code/okta and use http://localhost:3000,http://localhost:8080 for the Logout Redirect URI.

The Okta CLI will create an OIDC Web App in your Okta Org. It will add the redirect URIs you specified and grant access to the Everyone group. You will see output like the following when it's finished:

Okta application configuration has been written to:
  /path/to/app/src/main/resources/application.properties

Open src/main/resources/application.properties to see the issuer and credentials for your app.

okta.oauth2.issuer=https://dev-133337.okta.com/oauth2/default
okta.oauth2.client-id=0oab8eb55Kb9jdMIr5d6
okta.oauth2.client-secret=NEVER-SHOW-SECRETS

NOTE: You can also use the Okta Admin Console to create your app. See Create a Spring Boot App for more information.

Run ./mvnw spring-boot:run -Pprod and log in to your app at http://localhost:8080.

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.

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].