By: Eduard Kruger user 08 Jun 2022 at 7:53 a.m. CDT

2 Responses
Eduard Kruger gravatar

Good day,

I've registered an external OAuth provider with my local GLUU instance. My external OAuth is hosted with OKTA (www.okta.com) . I've tested the OAuth to be working with a SPA Angular app. However, when I try to use the OKTA Login to authenticate with GLUU, I receive a non-descriptive error "An error occurred" above the GLUU login box.

If I browse the log files I only see this error in the log file if I click on the OKTA external provider login every time I try to initiate the login:

at EventEmitter.<anonymous> (/opt/gluu/node/passport/node_modules/passport-oxd/node_modules/got/dist/source/as-promise.js:118:31)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

I'm at a loss what could be the cause. The Client that I registered with the OXD server is set up as a web client and is working correctly, but I am still getting this error.

Any advice would be highly appreciated...

Thank you,

By Michael Schwartz Account Admin 08 Jun 2022 at 11:07 a.m. CDT

Michael Schwartz gravatar

This is unfortunately out of scope of community support. You'll need to get a support contract, as we'll need to replicate this issue in our lab to come back with a good answer.

By Eduard Kruger user 09 Jun 2022 at 2:27 a.m. CDT

Eduard Kruger gravatar

Good day Michael,

Thanks for the prompt feedback.

I managed to get this issue sorted by using a the normal "open-id" client type, strategy and PassportJS mapping in GLUU. I can now authenticate with my external IdP provider without issue.

Kindest regards,

Eduard Kruger.