Hi Folks, I’m trying to set up cec on a machine that is ssh access only so I can’t open a browser on it.
When running cec configure and pasting the supplied URL into a browser I get the following error:
“The redirect_uri parameter does not match any of the OAuth 2.0 client’s pre-registerd redirect urls”
I’m unsure whether it is safe to post the URL that cec supplies here…
Can you help? I’m running cells behind a nginx proxy.
Also it would be nice if I could have cut and pasted that error message, but the error popup does not seem to allow text selection (chrome browser).
FYI OAuth2 client application must be authorised on the server sided to have the permission to use the API. By default, the cec client app is registered and it should be able to perform the authorisation flow directly.
So what are your version of the cec and the server ?
At this step of the configure process:
? Do you want to edit OAuth client data (defaults generally work)?:
▸ Use defaults
Edit OAuth client
Did you change anything ?
I’m unsure whether it is safe to post the URL that cec supplies here…
You can, if you are not afraid to expose your FQDN here, otherwise replace it and the state => but in your case you must have the same domain twice in the URI, for example: