Git Product home page Git Product logo

proxy-wasm-opaque-to-jwt's People

Contributors

nickufer avatar

Watchers

 avatar  avatar  avatar

proxy-wasm-opaque-to-jwt's Issues

Switch from jwt-simple to jsonwebtoken

Once ring supports builds for target=wasm32-wasi the jwt module has to be refactored to jsonwebtoken.

jsonwebtoken has a much better API and it is less painful to build upon.

Implement optional authorization for token introspection endpoint

The RFC for the OAuth 2.0 Token Introspection states that the introspect endpoint MUST have some form authorization:

To prevent token scanning attacks, the endpoint MUST also require
   some form of authorization to access this endpoint, such as client
   authentication as described in OAuth 2.0 [RFC6749] or a separate
   OAuth 2.0 access token such as the bearer token described in OAuth
   2.0 Bearer Token Usage [RFC6750].

Some certified OAuth2 authorization servers have the introspect endpoint exposed on a different "internal" port (like ORY Hydra) which should be guarded by own measures. Some authorization servers use specific authorized clients for that.

Basic authorization should at least be supported.
Possible extra would be client credentials Bearer token authorization.

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.