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
- Create an application in Xumm Developer Console
- Under "Settings / Origin/Redirect URIs" enter "http://127.0.0.1:58890/auth"
- Enter "API-Key" in Main.java (apiKey)
- 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