corbado / flutter-passkeys

Easily provide passkey authentication based on FIDO2 / WebAuthn for Flutter apps (iOS & Android) via a dedicated Flutter package
https://www.corbado.com/passkeys/flutter
BSD 3-Clause "New" or "Revised" License
63 stars 29 forks source link

sign up and get "Socket operation failed" #45

Open OneZeroH opened 9 months ago

OneZeroH commented 9 months ago

I clone the project and run on a physical and virtual pixal 6a but when I signing up, I alway got "Socket operation failed" after I change api on api_client.dart from "https://.frontendapi.corbado.io" to "https://api.eu-1.corbado.io" which works on live demo but still got the same errror please tell me how to do with that, thanks

vincentdelitz commented 9 months ago

Hey @OneZeroH,

Thank you for this issue - we'll look into it!

incorbador commented 9 months ago

Hey @OneZeroH, which of the example applications are you running? (the repository contains quite a few of them). It appears that you haven't set up the CORBADO_PROJECT_ID environment variable. That's why the URL looks incomplete (instead of https://.frontendapi.corbado.io it should be for example https://pro-6244024196016258271.frontendapi.corbado.io.

So what can you do?

Please let me know if you were able to run the example :)

OneZeroH commented 9 months ago

When I use melos commands to run, it works!