0 Replies Latest reply on Feb 12, 2019 11:20 AM by 3700171

    Apex Openid with ADFS - Can not login, returned userinfo's "email" is empty. Error: Null username passed to login procedure.

    3700171

      Hi All,

       

      I have an application which I am trying to get working with Openid conect and ADFS. I have configured a new Authentication Scheme with Social Sign-on, set up my shared secret etc. When the app starts it redirects me to my ADFS to authenticate and when I return to the APEX app I am getting some errors in the debug log:

      Can not login, returned userinfo's "email" is empty.

      Error: Null username passed to login procedure.

       

      When I debug with Chrome debugger, I can see the redirection from the ADFS /authorize url back to apex_authentication.callback with the code data, but Apex doesn't then try to call the /token endpoint to convert the code to JSON tokens..

       

      I have tested with https://oidcdebugger.com/debug  and it is working correctly and is successfully going right thru the authentication process.

       

      Any clues as to how I can debug this?

       

      Thanks

      John