CBRAIN has a page that allows users to generate an API token.
When the token is generated, it is shown int he page and users are expected to write it down/copy it somewhere.
I suggest that just besides the token we had a nice 'copy to clipboard' button.