Skip to content

radynamics/XummPkce-demo

Repository files navigation

XUMM PKCE demo

This Java project demos following operations using XUMM-App:

  • Sign in with XUMM using OAuth2 PKCE on a desktop software
  • Send payment signing request to XUMM
  • Observe/Monitor state of sent signing request

Steps to use this code

  1. Create an application in Xumm Developer Console
    1. Under "Settings / Origin/Redirect URIs" enter "http://127.0.0.1:58890/auth"
  2. Enter "API-Key" in Main.java (apiKey)

Hints

  • Use a storage (like MemoryStorage) to store accessToken for further usage. accessToken may expire at any time.
  • OAuth2PkceAuthentication.java runs temporary a HttpServer on 127.0.0.1 listening on port 58890
  • Set scope variable in Main.java to your own software name

Useful documents

About

Demo of XUMM-App PKCE on a desktop software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages