• Resolved seanking2919

    (@seanking2919)


    Hi guys,

    So, while it’s been working fine. As of today, I keep getting an error saying, “Could not verify assertion with provider,” when logging in with my OpenID to Gitea.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter seanking2919

    (@seanking2919)

    I just found this when turning on debug logs:

    [07-Jan-2020 17:42:40 UTC] PHP Warning: Illegal string offset ‘c13bae18d148980b423ca9117739711d’ in /var/www/html/wp-content/plugins/openid/server.php on line 477
    [07-Jan-2020 17:42:40 UTC] PHP Notice: Array to string conversion in /var/www/html/wp-content/plugins/openid/server.php on line 477

    Thread Starter seanking2919

    (@seanking2919)

    Alright. So, some update: I was able to resolve that error from the debug log by changing this code in line 474:

    $trusted_sites = get_user_meta( $user->ID, 'openid_trusted_sites', true );
    

    To this:

    
    $trusted_sites = (array) get_user_meta( $user->ID, 'openid_trusted_sites', true );
    

    That being said, I still get the “Could not verify assertion with provider” error, even after installing the recommended GMP module for PHP.

    • This reply was modified 4 years, 10 months ago by seanking2919.
    Plugin Author Matthias Pfefferle

    (@pfefferle)

    What PHP version do you use?

    Thread Starter seanking2919

    (@seanking2919)

    Hi @pfefferle,

    I use PHP version 7.3.13

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Fixed ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Suddenly stopped working’ is closed to new replies.