OpenIdentityPlatform / OpenAM

OpenAM is an open access management solution that includes Authentication, SSO, Authorization, Federation, Entitlements and Web Services Security.
https://www.openidentityplatform.org/openam
Other
768 stars 149 forks source link

An internal authentication error has occurred while testing webAuthn #644

Closed amitt0488 closed 11 months ago

amitt0488 commented 11 months ago

I have setup openAM and openDJ on my window 10 laptop referring this https://github.com/OpenIdentityPlatform/OpenAM/wiki/How-to-Start-OpenAM-and-OpenDJ-in-Separate-Docker-Contaners

During the setup, I specified openAM hostname as localhost. Also, after the setup I disabled XUI

image

image

After all this, I followed this article for setting up webauthn module https://github.com/OpenIdentityPlatform/OpenAM/wiki/How-to-Setup-WebAuthn-Authentication-in-OpenAM

But, now when I try to hit this URL http://localhost:8080/openam/UI/Login?org=/clients&service=webauthn-registration , it takes me to an error page saying "An internal authentication has occurred"

Please help me in this.

image

maximthomas commented 11 months ago

I can't reproduce the issue in the local environment. Just run the latest OpenAM docker image, set up classic UI, WebAuthN authentication module and chain and don't see any issue. Please attach <openam config folder>/openam/debug and <openam config folder>/openam/log folders contents for analysis.

amitt0488 commented 11 months ago

openam-folders.zip I have used the latest openam docker image and have done all the settings as specified in this repo. Attaching the openam config, debug & log folder.

And this is docker-compose file:

**version: '3.9'

services: openam: image: openidentityplatform/openam:latest ports:

amitt0488 commented 11 months ago

Now the registration and authentication pages are showing up correctly. I redeployed it and I guess i set the webauthn-authentication chain criteria to 'required' instead of 'requisite'

Thanks for your support.

amitt0488 commented 11 months ago

Just one more question: For testing the end to end flow, is there an emulator for Windows as well, just like linux and Mac? or is there any other way by which this can be tested?

maximthomas commented 11 months ago

Glad I could help There is an WebAuthn emulator in Chrome Browser