Open lidel opened 4 years ago
This is pretty standard flow. One thing to note: if we go down this route, it would be good to provide guidance (not requirements, just guidance) for how pinning services may wish to present their own auth page for consistency.
My only concern here is that it would create a higher barrier to entry to creating a pinning service that integrates with Desktop/Web UI -- the creator of the service actually has to build this auth flow on their end. If I was running a micro-pinning service for small-scale needs, I might not want to bother with this.
Now that #14 is merged, and we got the basic minimum (support for
Authorization: Bearer <key>
) we could discuss ways to improve UX of adding services, namely avoid manual copying of authorization token from pinning service to GUI app interface.To illustrate UX needs, adding pinning service to WebUI in IPFS Desktop app could look like this:
Qs: