derf / travelynx

Traewelling-inspired journey logger with realtime data
https://travelynx.de
GNU Affero General Public License v3.0
121 stars 20 forks source link

Add OAuth2 or somehow simplify login/getting and differentiating API keys #124

Open rugk opened 8 months ago

rugk commented 8 months ago

See https://github.com/Traewelldroid/traewelldroid/issues/334 for backstory.

Ideas

Also:

deingithub commented 8 months ago

As an API consumer, I much prefer not dealing with the conceptual and implementation overhead of OAuth. But I agree that the UI for creating and revoking tokens could definitely use some polishing and perhaps less technical explanations. For my project interfacing with traxelynx I've written some user guidance with a screenshot that looks like this, maybe something in that direction would be helpful for träwelldroid too in the meantime? image-165

rugk commented 8 months ago

Yeah, Traewelldroid has OAuth already implemented (for Traewelling), but yeah of course UI improvements would be the first step IMHO.

derf commented 7 months ago

I'm not 100% happy with the current API myself, so I might look into improving it at some point. That may or may not include OAuth2 support in addition to the current token system. We'll see :)