jasonpaulos / solid-health

A proof-of-concept mobile app for decentralized health record management
MIT License
51 stars 26 forks source link

unable to sign in with Solid #3

Open Sigmun opened 3 years ago

Sigmun commented 3 years ago

I am trying to use the app on Android 10 and I am not able to sign in using the given process:

  1. install the app from apk file (release v1.0.0)
  2. open it and click on "Sign in with Solid"
  3. click on "Log in" button from web browser (Firefox Klar) opened page (https://jasonpaulos.github.io/solid-heath/#appLogin)
  4. Get the popup.html page asking for closing this window then go back to the app
  5. Closing the webbrowser
  6. Re-open SolidHealth and proceed the exact same way

I reach al the time the popup.html page so I cannot use the app.

jasonpaulos commented 3 years ago

It looks like the Solid protocol has changed how authentication works. The README for solid-auth-client, the authentication library used by solid-health, now says:

⚠️ New projects should use solid-client-authn or solid-auth-fetcher instead, which leverage the secure DPoP authentication mechanism from the current Solid specification, as implemented by the Community Solid Server and the Enterprise Solid Server.

This may be why you're having trouble. I'll try to debug this issue further soon.