• Resolved jerielbeat

    (@jerielbeat)


    Hi, is there a way to change the response_type from code to other like code token?

    We are trying to set to use the Hybrid Flow and not the Authorization Code flow.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Daggerhart

    (@daggerhart)

    Apologies for the slow reply, I don’t often check the messages here, most support happens on github https://github.com/oidc-wp/openid-connect-generic/issues

    Atm, the only way to do this is to use a WP filter in php. Here’s an untested example:

    add_filter( 'openid-connect-generic-auth-url', function( $url ) { 
    return str_replace('response_type=code', 'response_type=code token', $url);
    } );

    That space between code and token might need to be %20, I’m not sure without testing.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.