/auth: Last updated 2022-10-05 14:45:09 by Conrad Wood
Authentication
There are multiple ways to authenticate a web client:
- depending on the useragent, a basic authentication will be trigged if required. For example “wget”.
- If the url contains a a parameter “apikey”, it’s value will be taken as a token and authentication attempted with it. For example: https://www.singingcat.net?apikey=footoken
- form based authentication. A client will be authenticated with a form if no other means of authentication is available.
- send a Header “Authorization” and as its value “Bearer [yourtoken]”
Where a username/password combination is required, one can use any one of the below:
- userid@token.yacloud.eu + usertoken
- email + password