Coder Social home page Coder Social logo

Comments (5)

rohe avatar rohe commented on August 22, 2024

The problem is that you're returning a 403.
If RFC 6749 says anything about HTTP error codes it is that it should be a 400.
For some reason OIDC core has added 401 just for Userinfo responses.
No one mentions 403.
I have OPs returning a 200 with an error message you're the first returning a 403 :-)
I can make the tool also accept 403 but it will take a while.

from oidctest.

selfissued avatar selfissued commented on August 22, 2024

We should issue a warning if the status code is not the expected one.

from oidctest.

selfissued avatar selfissued commented on August 22, 2024

A warning should be issued if it's not a 401 (or possibly a 400). The use of 403 is wrong, and should result in a warning.

from oidctest.

aeneasr avatar aeneasr commented on August 22, 2024

This took me some while to figure out, it would be great if the test tool showed a warning or potentially fail if 403 was issued.

from oidctest.

zandbelt avatar zandbelt commented on August 22, 2024

that's rolled out now on production (and test) as part of release 2.2.0

from oidctest.

Related Issues (20)

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.