mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #9157 from knoxell/patch-2
adding token lifetime for loginflow v2
This commit is contained in:
commit
90bac8aa29
@ -143,6 +143,7 @@ The program should directly start polling the poll endpoint:
|
||||
|
||||
curl -X POST https://cloud.example.com/login/v2/poll -d "token=mQUYQdffOSAMJYtm8pVpkOsVqXt5hglnuSpO5EMbgJMNEPFGaiDe8OUjvrJ2WcYcBSLgqynu9jaPFvZHMl83ybMvp6aDIDARjTFIBpRWod6p32fL9LIpIStvc6k8Wrs1"
|
||||
|
||||
The token will be valid for 20 minutes.
|
||||
This will return a 404 until authentication is done. Once a 200 is returned it is another json object.
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
Loading…
Reference in New Issue
Block a user