Support » Plugin: Generic OpenID Connect » Works for me with some settings and replacing a line of code

  • Line 97 replace:
    $this->ep_userinfo . ‘?access_token=’ . $token_response[‘access_token’],
    with:
    $this->ep_userinfo . ‘?schema=openid&access_token=’ . $token_response[‘access_token’],

    In the settings for the plugin:
    Identity key needs to be set to ‘sub’ (without quotes) for my IdP, and the regex *needs to be set*, and between single quotes.

    https://wordpress.org/plugins/generic-openid-connect/

Viewing 1 replies (of 1 total)
  • Hi
    I changed the code according to what you’ve suggested above but I still have problem with the configuration of this plug in. Would you please instruct me what should be set to each of these items.
    Login Endpoint URL
    Token Validation Endpoint URL
    Userinfo Endpoint URL
    Client ID
    Client Secret Key
    OpenID Scope
    Identity Key
    Allowed regex
    (I’m building a website for my company by wordpress. My company have a website that provides openID (https://oauth.emofid.com/core/) and my manager wants company’s personnel be redirected to that website for authentication when they try to log in to the website I’m building with wordpress.)

Viewing 1 replies (of 1 total)
  • The topic ‘Works for me with some settings and replacing a line of code’ is closed to new replies.