Describe the bug
setting up gdrive oauth requires you to add a redirect URL to client credentials in the google api and services web page. However, nut appears to use a random port each time, so you can't get it to work.
To Reproduce
Steps to reproduce the behaviour:
Pu the credentials.json in the root folder
add http://localhost to the trusted redirect URI in google api and services.
run nut
click on 'Setup Gdrive Auth'
get google error page
Actual behaviour
Google error:
Error 400: redirect_uri_mismatch
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.
If you're the app developer, register the redirect URI in the Google Cloud Console.
Request details: redirect_uri=http://localhost:57795/
Describe the bug setting up gdrive oauth requires you to add a redirect URL to client credentials in the google api and services web page. However, nut appears to use a random port each time, so you can't get it to work.
To Reproduce Steps to reproduce the behaviour:
Actual behaviour Google error: Error 400: redirect_uri_mismatch
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.
If you're the app developer, register the redirect URI in the Google Cloud Console. Request details: redirect_uri=http://localhost:57795/