datalad ebrains-authenticate

Synopsis

datalad ebrains-authenticate [-h] [--version]

Description

Obtain an EBRAINS authentication token

This command executes the "device authorization flow". It will present a URL to a webpage. Please note that any period ('.') at the end of the displayed URL is not part of the URL.

On the linked page, a user can log in with their EBRAINS credentials. When successfully logged in, this command will return a token that can be used to authenticate for additional operations.

A common usage in a POSIX shell would be:

export KG_AUTH_TOKEN=`datalad ebrains-authenticate`

which assigns the token to the KG_AUTH_TOKEN environment variable. This variable is, for example, honored by the ebrains-clone command.

Options

-h, --help, --help-np

show this help message. --help-np forcefully disables the use of a pager for displaying the help message

--version

show the module and its version which provides the command

Authors

datalad is developed by The DataLad Team and Contributors <team@datalad.org>.