...
Starting with v0.7, Giles has a two part authentication mechanism. First, it requires applications to send an app token (generated by Giles for a specific app) and the token of an identity provider to authenticate a user. Giles then generates a shorter-lived authentication token specifically for Giles that can be used to use Giles' REST Api on behave behalf of a user.
To register an application with Giles:
...
Warning |
---|
Never share Giles access tokens and keep them safe. Anyone with an access token can use Giles API on your apps app's behalf. |
Status | ||||
---|---|---|---|---|
|
...
With the returned Giles authentication token, you can now use Giles' REST Api.
Warning |
---|
Keep in mind that API tokens are user-specific and are used for authorization. This means that you need to request an API token for each of your users. API tokens contain information about a user and are used to assign uploads to the correct user. |
Expired Giles Tokens
When sending an expired Giles token, the following response is returned:
...