Giter Site home page Giter Site logo

Error on logout about pyoidc HOT 2 OPEN

cz-nic avatar cz-nic commented on August 28, 2024
Error on logout

from pyoidc.

Comments (2)

maennel avatar maennel commented on August 28, 2024

Hi,

I get the same message (trying to get OP2/RP2 with password authN running).

It is thrown here:
https://github.com/rohe/pyoidc/blob/a9b5db50c977c93a1b76e446a7340fef7c23fc87/src/oic/oic/provider.py#L463

Most probably, there's something wrong in the verification process, not returning a redirect_uri:
https://github.com/rohe/pyoidc/blob/a9b5db50c977c93a1b76e446a7340fef7c23fc87/src/oic/oic/provider.py#L417

However, I couldn't figure out yet WHAT is going wrong.

Thanks,
-Manuel

from pyoidc.

maennel avatar maennel commented on August 28, 2024

Hi,

I managed to get the logout work. Therefore, the following modifications were necessary:

  • Add ACR_VALUES to the "endsession"-query issued by the RP
  • Adapted ACR_VALUES parsing on the OP(2) (and the files inside the oic)
  • Fixed session deletion (which was obviously not tested)
  • Added more precise (and verbose) error messages

@rohe Feel free to have a look at my branch https://github.com/maennel/pyoidc/tree/bugfix_logout and take over code from there. I did not create a Pull Request, since I have not (yet) adapted tests and I have done other modifications that have nothing to do with "logout".

-Manuel

from pyoidc.

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.