Open romanchyla opened 6 years ago
When creating a new oauth application, like so:
root@e6352c403945:/app# python scripts/generate_oauth_client.py --user-email export-service@ads --create-user --scopes api --name "Export Service"
the expiration date is not set which causes 500 error; and potentially also the 'active' in the user's table should be set to true
manually i fixed those by issuing:
update oauth2token set expires = '2050-01-01 00:00:00' where user_id = 4097; update users set active = true where id = 4097;
When creating a new oauth application, like so:
the expiration date is not set which causes 500 error; and potentially also the 'active' in the user's table should be set to true
manually i fixed those by issuing: