Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Following the Sample Scenarios #113

Open
NikolaVetnic opened this issue Jan 8, 2025 · 12 comments
Open

Problem with Following the Sample Scenarios #113

NikolaVetnic opened this issue Jan 8, 2025 · 12 comments

Comments

@NikolaVetnic
Copy link

Hello there,

I am having trouble following the sample scenarios in both the local setup and the setup you provide.

The results of following these two scenarios can be viewed here:

I have also tried the local setup as suggested here, but the problem in that case is probably that I cannot sign up while offline, while signing up using your "live" setup leads to the problem shown above. Here is what I tried:

And another thing, if I may - is there any kind of API documentation as to what endpoints are offered by the backend server (or some other service you are providing) that could potentially be accessed without your own frontend app?

Looking forward to your answers, I really like what I am seeing so far 😄

@gkatrakazas
Copy link
Member

Could you please tell us the version of macOS and Safari you are currently using?

@NikolaVetnic
Copy link
Author

Thank you for the prompt reply!

Sure, it's MacOS 15.1.1 (24B91) and Firefox 133.0.3 (aarch64), I did not try it in Safari.

@gkatrakazas
Copy link
Member

Currently, Firefox does not support the PRF extension. We recommend using other browsers such as Chrome, Edge, Opera, or Safari for full functionality. For more details on PRF compatibility across various operating systems and browsers, please visit our documentation here.

@NikolaVetnic
Copy link
Author

NikolaVetnic commented Jan 8, 2025

This is what I get on Chrome when I try to follow the first scenario and attempt to sign up:

This browser or security key is not supported. Please make sure that your browser supports the WebAuthn PRF extension and your security key, if any, supports the "hmac-secret" extension. [Learn more here](https://github.com/wwWallet/wallet-frontend#prf-compatibility).

I will now try the Safari.

UPDATE: Works with Safari, thanks.

@NikolaVetnic
Copy link
Author

Would you also be so kind as to direct me to any kind of information source regarding this:

And another thing, if I may - is there any kind of API documentation as to what endpoints are offered by the backend server (or some other service you are providing) that could potentially be accessed without your own frontend app?

@gkatrakazas
Copy link
Member

If you see the prf table, on macOS you are tring with Internal on chrome, that's the reason you failed now.
You can you any other way with ✅ to signup!

@NikolaVetnic
Copy link
Author

One more question - do you have any advice when running the docker compose locally, since there is no option to sign up there and I have to use the telephone to log in via the QR code?

@gkatrakazas
Copy link
Member

Do you mean when you are offline ?

@NikolaVetnic
Copy link
Author

Precisely, when I am running the whole project via Docker on my local machine.

@gkatrakazas
Copy link
Member

As i saw in the video, you don't have the latest master of the frontend. There was an issue in previous versions about the Online/Offline detection, so i am not really sure about the exact reason of the wrong offline!

@NikolaVetnic
Copy link
Author

The problem was actually with the backend server. From what I gather, you are mounting source files into the container to enable hot reload among other things, and there was an issue with file permissions which I solved by calling chmod -R 0777 on the entire ecosystem folder. Now it works and I can even fiddle with the enterprise part of the solution.

In regards to modifying your supplied issuers and the verifier, should I write to you in this issue, or create another?

@gkatrakazas
Copy link
Member

I recommend creating a new issue for better tracking and clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants