Changes between Version 28 and Version 29 of notes/other


Ignore:
Timestamp:
2021-03-31T07:55:18Z (4 years ago)
Author:
root
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • notes/other

    v28 v29  
    7171
    7272[[br]]
     73
     74== Duplicacy own API token generate
     75{{{
     76#!bash
     77oauth2l fetch \
     78 --refresh \
     79 --type=oauth \
     80 --scope=drive \
     81 --output_format=json \
     82 --cache=auth-cache.mjson \
     83 --credentials=client_secret_id.json >
     84 token.json 
     85}}}
     86`token.json`:
     87{{{
     88#!json
     89{
     90 "client_secret":"secret",
     91 "client_id": "id.apps.googleusercontent.com",
     92 "end_point": {
     93  "TokenURL": "https://oauth2.googleapis.com/token"
     94 },
     95 "token": {
     96  "access_token": "preventive expired with working refresh_token",
     97  "refresh_token": "refresh",
     98  "expiry": "2000-02-22T10:22:17.547011879Z"
     99 }
     100}
     101}}}
     102
     103[[br]]