All Projects → oktadev → okta-spring-boot-2-angular-7-example

oktadev / okta-spring-boot-2-angular-7-example

Licence: Apache-2.0 license
A Cool Cars Example that showcases Spring Boot 2.1, Angular 7, and Okta's support for both.

Programming Languages

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

Projects that are alternatives of or similar to okta-spring-boot-2-angular-7-example

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: ✭ 134 (+54.02%)
Mutual labels:  oidc, spring-boot2, okta-angular
okta-spring-boot-vue-crud-example
A Todo App that showcases Spring Boot, Vue.js, and Okta's support for both.
Stars: ✭ 33 (-62.07%)
Mutual labels:  oidc, crud-sample, spring-boot2
kubernetes-localdev
Create a local Kubernetes development environment on macOS or Windows and WSL2, including HTTPS/TLS and OAuth2/OIDC authentication.
Stars: ✭ 210 (+141.38%)
Mutual labels:  oidc
Angular-Cordova-Google-PlayStore-Publish
How to publish Angular app to Google Play Store using Cordova
Stars: ✭ 25 (-71.26%)
Mutual labels:  angular7
go-oidc-middleware
OpenID Connect (OIDC) http middleware for Go
Stars: ✭ 65 (-25.29%)
Mutual labels:  oidc
angular-i18n-localization
An angular application with i18n and localization implemented.
Stars: ✭ 22 (-74.71%)
Mutual labels:  angular7
angularx-qrcode-sample-app
Angular5/6/7/8/9/10+ sample apps with working implementations of angularx-qrcode
Stars: ✭ 15 (-82.76%)
Mutual labels:  angular7
osprey
Kubernetes OIDC CLI login
Stars: ✭ 49 (-43.68%)
Mutual labels:  oidc
angular-kanban
Simple Kanban board with local storage
Stars: ✭ 18 (-79.31%)
Mutual labels:  angular7
ngx-quill-lite
A light weight Angular wrapper of Quilljs, powerful rich text editor
Stars: ✭ 20 (-77.01%)
Mutual labels:  angular7
gluu-gateway
Gluu API 🚀 and Web Gateway 🎯
Stars: ✭ 29 (-66.67%)
Mutual labels:  oidc
logrocket deno api
A functional CRUD-like API with Deno and Postgres
Stars: ✭ 23 (-73.56%)
Mutual labels:  crud-sample
Kamp-frontend
𝐾𝑎𝑚𝑝 𝑃𝑟𝑜𝑗𝑒𝑐𝑡 𝐹𝑟𝑜𝑛𝑡𝑒𝑛𝑑
Stars: ✭ 3 (-96.55%)
Mutual labels:  angular7
AspNetCoreMvcAngular
ASP.NET Core MVC with angular in MVC View OpenID Connect Hybrid Flow
Stars: ✭ 54 (-37.93%)
Mutual labels:  oidc
ionic4-angular7-example
Ionic 4, Angular 7 and Cordova Tutorial: Build CRUD Mobile Apps
Stars: ✭ 57 (-34.48%)
Mutual labels:  angular7
casdoor
An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS, QQ group: 645200447
Stars: ✭ 4,147 (+4666.67%)
Mutual labels:  oidc
angular-auth-oidc-sample-google-openid
Angular oidc client with google Identity OpenID
Stars: ✭ 23 (-73.56%)
Mutual labels:  oidc
ng-oidc-client
A package for managing OpenID-Connect authentication in Angular apps, wrapping oidc-client-js
Stars: ✭ 48 (-44.83%)
Mutual labels:  oidc
k8s-pixy-auth
k8s plugin to authenticate against an OIDC compatible issuer using PKCE (pixy) flow
Stars: ✭ 24 (-72.41%)
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 (-37.93%)
Mutual labels:  oidc

Basic CRUD App with Angular 7.0 and Spring Boot 2.1

This example app shows how to build a basic CRUD app with Spring Boot 2.1, Spring Data, and Angular 7.0.

Please read Build a Basic CRUD App with Angular 7.0 and Spring Boot 2.1 to see how this app was created.

Prerequisites: Java 8 and Node.js. For Java 10+, you'll need to change the java.version property and jaxb-api as a dependency. See Josh Long's spring-boot-and-java-10 project on GitHub for more information.

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-2-angular-7-example.git
cd okta-spring-boot-2-angular-7-example

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, cd into the server folder and run:

./mvnw spring-boot:run

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

npm install && npm start

Create a New OIDC App in Okta

To create a new OIDC app on Okta:

  1. Log in to your developer account, navigate to Applications, and click on Add Application.
  2. Select Single-Page App and click Next.
  3. Give the application a name, change all instances of localhost:8080 to localhost:4200 and click Done.

Server Configuration

Set your domain and copy the clientId into server/src/main/resources/application.yml.

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

okta:
  oauth2:
    client-id: {clientId}
    issuer: https://{yourOktaDomain}/oauth2/default

Client Configuration

For the client, set the issuer and copy the clientId into client/src/app/app.module.ts.

const config = {
  issuer: 'https://{yourOktaDomain}/oauth2/default',
  redirectUri: window.location.origin + '/implicit/callback',
  clientId: '{clientId}'
};

Links

This example uses the following open source libraries from Okta:

Help

Please post any questions as comments on the blog post, or visit our Okta Developer Forums. You can also email [email protected] if would 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].