Closed almirbi closed 7 years ago
I'm going to iterate on this in a PR-on-this-PR.
Actually, I've just realised that this generates tokens for a specific application. While that might be useful for local testing, it's not what Personal Access Tokens are intended for.
The idea of Personal Access Tokens is that they allow individual users to give credentials out to applications without needing to register applications at all. On a large site for example, users may not have access to register applications, but should be able to generate PATs. There's also the use case where you're working on a small application for your own use (e.g. a CLI helper) and don't need the overhead of all the application flow, since it's a trusted app.
Given that, I don't think this fulfills the need for PATs, so I'm going to close this out to work on an alternative approach instead.
Added a button on the application screen that generate an access token. #11