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 wallet sample - how to issue a document #832

Open
szefuf opened this issue Dec 23, 2024 · 1 comment
Open

Problem with wallet sample - how to issue a document #832

szefuf opened this issue Dec 23, 2024 · 1 comment

Comments

@szefuf
Copy link

szefuf commented Dec 23, 2024

Hi,
I read https://developer.chrome.com/blog/digital-credentials-api-origin-trial
I just checkout the repository, and focused on server and wallet. I started the server, change path to existing server in wallet, built wallet and got error loading issuers.

I thought that I need to change server address to include /server/openid4vci/ but then I got root/authenticate [Not found]

Steps to reproduce the behaviour:

Checkout branch main
Change paths in WalletApplicationConfiguration to, well, no idea - that's what I am trying to ask here
After trying to add document got root/authenticate [Not found]
In APK downloaded from this page https://digitalcredentials.dev/docs/samples/android-wallet-sample/#install-the-apps only self signed issuing is working. I thought it should be same application, but it seems to be completely different.

Can you tell me what I am doing wrong, or this feature is still not ready?

@sorotokin
Copy link
Contributor

If you run the server using ./gradlew server:tomcatRun your server URL will be http://host:8080/server. By default when you run freshly built apk, the server will be set to http://localhost:8080/server. Of course for the apk localhost is the phone, and your server is running on a computer, but you can tunnel it to the phone using adb reverse tcp:8080 tcp:8080 command. Alternatively, point to your server in app's settings.

Prebuilt apps will only work with the server that they were built for, which in general may not be compatible with what we have in dev.

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

3 participants
@sorotokin @szefuf and others