Custom Social Connection Errors

Hi all,

I connecting a custom social login, but receiving a couple of errors when test with the “try” button. The errors are "error : “invalid_request”, “error_description” : “profile is not defined”.

This appears to be a new error and believe that the connection was working correctly previously, so not quite sure what the issue is?

Please image.

Any consideration to troubleshoot is appreciated!

Thanks for the help here,

Anthony

Hi @anthony8824 and welcome to the Auth0 Community! :grinning:

Which custom social connection did you configure? Can you confirm that it was set up according to our documentation here:

https://auth0.com/docs/extensions/custom-social-extensions

You mentioned that this connection was previously working, were any changes made on your side prior to this connection seemingly breaking? From the error it sounds like there may be an issue with the Fetch User profile script you have for this particular connection. I’d recommend reviewing that piece of code to ensure it’s returning the information you’re expecting.

Best Regards,
Colin

1 Like

Thanks @colin.coutts for the feedback, makes sense.

The issue is being investigated.

I’ll keep you posted if there are any additional inquiries.

Thanks again!

Perfect! Thanks for letting us know @anthony8824!