GithubHelp home page GithubHelp logo

johnraber / auth0-spring-security-api-client-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from auth0-samples/auth0-spring-security-api-client-samples

0.0 1.0 0.0 352 KB

The samples contained here are companion client (SPA) samples for the Auth0 Spring Security API Sample

JavaScript 44.00% CSS 8.48% HTML 47.51%

auth0-spring-security-api-client-samples's Introduction

Auth0 Java Spring Security API SPA Client Applications

The samples contained here are companion client samples for the Auth0 Spring Security API Sample and Auth0 Spring Security API Resource Server Sample

Background Information

Three scenarios we wish to cover are:

1). The SPA and API Server trust one another, and share the same Auth0 application information. Hence the JWT Token received upon successful authentication in the SPA application is also passed in the Authorization Bearer header of the AJAX requests to the API Server. The API Server accepts the audience as it is the same as its own.

2). Using Delegation Tokens to partition the SPA application and API Server, each having their own Auth0 Application on a shared Tenant.

3). Using a Resource Server, rather than API Server.

The first sample published covers 1) and 2) above. A separate sample will be provided for 3). This shall use a User Consent Form and is part of a very recent Oauth2 offering from Auth0 that is still in Beta.

Likewise, existing samples will be provided using Angular 1.x, however we expect support for ReactJS samples to illustrate the exact same concepts very shortly.

auth0-spring-security-api-client-samples's People

Contributors

arcseldon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.