Git Product home page Git Product logo

openconext-oidcng's Introduction

OpenConext

License

See the LICENSE file

Disclaimer

See the NOTICE.txt file

General Information

General information on OpenConext can be found at: https://www.openconext.org

OpenConext uses the GitHub OpenConext wiki for information regarding deployment and development of OpenConext.

OpenConext wants to kindly thank BrowserStack.com for providing a "Free for Open Source" license. This tool provides live, web-based browser testing and eliminates the need for maintaining several local VMs.

openconext-oidcng's People

Contributors

danakim avatar dependabot[bot] avatar oharsta avatar quartje avatar stephan-kok avatar tbkennisnet avatar thijskh avatar tvdijen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

openconext-oidcng's Issues

SURFisms in 'session lost' page

The 'session lost' error page contains links that point straight to the SURFnet website.
I can't configure these links without directly editing the template files.

Support ephemeral port numbers on loopback redirect URIs

The Authorization endpoint currently does not support ephemeral ports on loopback redirect uris.

This prevents native apps that use random port numbers to receive authorization codes to interoperate with OpenConext.

RFC8252
(OAuth 2.0 for Native Apps)
reads in section 7.3. Loopback Interface Redirection:

   The authorization server MUST allow any port to be specified at the
   time of the request for loopback IP redirect URIs, to accommodate
   clients that obtain an available ephemeral port from the operating
   system at the time of the request.

This could be changed easily by ignoring port numbers on redirect URIs for loopback addresses. See
https://github.com/OpenConext/OpenConext-oidcng/blob/master/src/main/java/oidc/endpoints/AuthorizationEndpoint.java#L231

Support for Remote Token Introspection

To support advances usecases in the context of SRAM and European Universities (Eurotech), we need to support so-called Remote Token Introspection. Basically this is a new spec that specifies how an AS/OIDC proxy can introspect tokens that have been issued by a different AS or proxy (both of which need to be part of the same trust framework).

Code execution continues after exception

I had an issue with my remote IDP metadata, leading to the following errors being logged by OIDCNG:

May 25 13:05:28 sv1811044.frd.tshsdir.local OIDC: [http-nio-9195-exec-1] org.springframework.security.saml.provider.AbstractHostedProviderService Invalid signature for remote provider metadata https://engine.example.org/authentication/idp/metadata. Unable to trust.

I noticed that, despite the exception being raised, requests are still fired against EngineBlock, even with the exception message from OIDCng appended to the HTTP request!

Engineblock log:
May 25 12:29:10 sv1811043 EBLOG[1643]: [2020-05-25 12:29:10] app.NOTICE: [404]Unroutable URI: '/authentication/idp/metadata. Unable to trust.' {"session_id":null,"request_id":"5ecb9df5e8f27"} []

EB Apache log:
May 25 12:29:10 sv1811043 HTTPD-EB: 10.19.84.248 - - [25/May/2020:12:29:09 +0200] "GET /authentication/idp/metadata.%20Unable%20to%20trust. HTTP/1.1" 404 2567 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"

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.