• This plugin sort of works, I get forwarded to IdP for authentication, but on return to wordpress, I get the login page with “ERROR: The username field is empty.”

    Simplesamlphp 1.8 and wordpress 3.2.1

    Anybody have any luck getting around this error?

Viewing 1 replies (of 1 total)
  • Thread Starter ben_author

    (@ben_author)

    Fixed: I dug around and discovered the plugin was getting a Null value for ‘uid’. I changed line 86 from
    $username = $attributes['uid'][0];
    to
    $username = $attributes["urn:oid:0.9.2342.19200300.100.1.1"][0];
    and had success.

Viewing 1 replies (of 1 total)
  • The topic ‘Simplesamlphp plugin: The username field is empty.’ is closed to new replies.