armadietto icon indicating copy to clipboard operation
armadietto copied to clipboard

Feature: Generate OAuth read-only (and read-write) tokens for server apps

Open DougReeder opened this issue 3 years ago • 3 comments

Other servers that access RS require setting the tokens manually, as they generally don't have a Web interface.

This is also required to run the RS api-test-suite.

This would probably be part of an admin UI.

Read-only tokens would also allow sharing with friends, but for most apps it's not clear how they would take advantage of that.

DougReeder avatar Jan 31 '22 21:01 DougReeder

What if we just wrote a simple unhosted app that can aquire and display custom tokens for server integration? Since servers are not bound by Origin restrictions (they can just send whatever origin they want), the client ID and redirect URI may as well be a known app that creates tokens for those.

raucao avatar Jan 31 '22 21:01 raucao

A new client app? That sounds straightforward.

DougReeder avatar Jan 31 '22 21:01 DougReeder

Yeah, it would be similar to https://github.com/raucao/rs-backup-auth-page but with a form to specify category name (or root access) and permission level.

raucao avatar Jan 31 '22 21:01 raucao