EdwardHinkle / remark

A fun social reader for iOS/macOS using IndieWeb technology
https://eddiehinkle.com/2019/05/08/5/article/
MIT License
9 stars 0 forks source link

Refresh endpoint list and request new scopes if applicable #10

Open jackjamieson2 opened 5 years ago

jackjamieson2 commented 5 years ago

I started logging into Indigenous before I had set up my microsub endpoint, so Indigenous loaded as a Micropub client and displayed the microsub info as per #198.

Once I had finished setting up my microsub endpoint, I did not see any way to make Indigenous find it and then ask for the read scope to function as a microsub client.

I tried logging out and logging back in, and Indigenous still only asked for the create scope.

I then uninstalled and reinstalled Indigenous, and it then recognized my microsub endpoint requested both scopes.

If I understand correctly, https://github.com/EdwardHinkle/indigenous-ios/commit/06d87a5d435882a4a9c11d5651bba97603e85645 indicates that Indigenous should just work once the new endpoints are added, but this wasn't the case for me.

Not a critical issue, but might be a barrier for some users.

EdwardHinkle commented 5 years ago

Definitely doesn’t seem optimal. I’ll have to do some testing adding/removing my endpoint. I thought I fetched endpoints on each logout/login. But must not be.

Thanks for noting this! 😁