GithubHelp home page GithubHelp logo

Comments (6)

brockallen avatar brockallen commented on August 15, 2024

Why do you want to suppress that protocol parameter? It's needed on the post logout redirect URI endpoint.

from bff.

prijgec avatar prijgec commented on August 15, 2024

I thought , State is optional parameter. My Id token is big in size and addition of the state is making the url bigger than url size limit. I tried removing state from endsession call manually and log out worked. Thanks

from bff.

brockallen avatar brockallen commented on August 15, 2024

Then it sounds like you might want to look into techniques for making the id_token smaller, like using code flow and getting an access token for the userinfo endpoint from the OIDC protocol. Are you doing this already?

https://openid.net/specs/openid-connect-core-1_0.html#UserInfo

from bff.

prijgec avatar prijgec commented on August 15, 2024

Yes. I have the maximum optimization for Id token, but I do not want to pass the state param with endsession call. But I am not finding any way to make state as optional from client. The idp logout end point called from bff is automatically adding the state param and I am not able to edit that through extending DefaultLogoutService , ProcessRequestAsync method,

from bff.

brockallen avatar brockallen commented on August 15, 2024

This is something you'd need to do in the Microsoft OIDC handler when it does the SignOut/OIDC end session workflow. I've not tried myself, but one idea would be to handle some of the OIDC events prior to the redirect.

from bff.

prijgec avatar prijgec commented on August 15, 2024

Thanks

from bff.

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.