StrongKey / fido2

Open-source FIDO server, featuring the FIDO2 standard. https://demo4.strongkey.com/getstarted/#/openapi/fido
205 stars 58 forks source link

Can you help me? I cannot register a user in a PoC portal. #144

Closed minacua closed 3 years ago

minacua commented 3 years ago

Describe the bug When send the information to register a new user , I receive the follow message in the browser: "SecurityError: The relying party ID is not a registrable domain suffix of, nor equal to the current domain"

Screenshots image

Additional context The follow lines are from the log file:

[2021-07-21T13:40:10.169-0500] [Payara 5.2020.7] [INFO] [FIDO-MSG-0002] [SKFS] [tid: _ThreadID=67 _ThreadName=http-thread-pool::http-listener-2(4)] [timeMillis: 1626892810169] [levelValue: 800] [[ FIDO-MSG-0002: Done with preregister request; Output: [TXID=67-1626892810128, START=1626892810128, FINISH=1626892810169, TTC=41] FIDO2Registration Challenge parameters = {"Response":{"rp":{"name":"FIDOServer","id":"strongkey.com"},"user":{"name":"jhon.doe","id":"KYhcH8JX6gdeTrtLM27OhNCL7z9HJ-DJAGeXeJTX6gc","displayName":"Jhon"},"challeng$

I think that issue come from RP and ID because are different domains (in the log file show strongkey.com domain), but I don´t know how change it in the poc.

PD. I´m new in this art, so my apologize.

Thanks for you help.

Regards.

arshadnoor commented 3 years ago

@minacua, what did you set your hostname to in step number 5 of of the installation process? https://github.com/StrongKey/fido2/blob/master/docs/Installation_Guide_Linux.md

minacua commented 3 years ago

Hi, I´ve resolved this issue

Thank you for you help.