Link Account Fails "Error 400: redirect_uri_mismatch"
I created Google Cloud project, created a device access project using OAuth credentials from Google Cloud project.

I then used this url from README: https://nestservices.google.com/partnerconnections/project-id/auth?redirect_uri=https://www.google.com&access_type=offline&prompt=consent&client_id=oauth2-client-id&response_type=code&scope=https://www.googleapis.com/auth/sdm.service+https://www.googleapis.com/auth/pubsub, substituting device project ID for "project-id " and cloud project oath client ID for "oauth2-client-id". 

Attempting to use the url asks me to select account (I select the account corresponding to the project in Google cloud) and then asks me to check which features will be enabled. Upon submitting this form, I receive Error 400: redirect_uri_mismatch. 

How do I make this work?