danbooru / danbooru

A taggable image board written in Rails.
Other
2.17k stars 410 forks source link

oauth support #5674

Open 12cowdog72 opened 2 months ago

12cowdog72 commented 2 months ago

Hello friends, please include an oauth. I have attached a library that may be of help:

https://github.com/doorkeeper-gem/doorkeeper

This can be of use for applications like the tagger instead of provide password.

nonamethanks commented 2 months ago

You don't need to provide a password, you can just use an API key with specific permissions.

12cowdog72 commented 2 months ago

Ask for API key looks suspicious to user, and you have to worry if user give right permissions and not extra etc. oauth token like API keys, but easier for user. @bipface I like to know why you disagree.

ErikHumphrey commented 2 months ago

Multiple API keys with different permission scopes are possible too, like ArenaNet does. It doesn't have to be OAuth tokens.