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

Refresh endpoint list and request new scopes if applicable #10

Open
jackjamieson2 opened this issue Jan 7, 2019 · 1 comment
Open

Comments

@jackjamieson2
Copy link

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, IndiePass/indiepass-ios@06d87a5 indicates that Indigenous should just work once the new endpoints are added, but this wasn't the case for me.

  • It would be nice if Indigenous had been able to automatically load my channel list once my endpoint was set up. I think this would require Indigenous to either (a) Ask for both read and create permissions from the start, or (b) request new permissions when a new endpoint is added.

  • The fact that I had to uninstall suggests there may be some caching (or similar behaviour) of endpoint lists that persists when the user logs out.

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

@EdwardHinkle
Copy link
Owner

EdwardHinkle commented Jan 7, 2019

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! 😁

@EdwardHinkle EdwardHinkle transferred this issue from IndiePass/indiepass-ios May 8, 2019
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

2 participants