Hi @jbchurchill ,
The Redirect URI you have will work in FME Desktop, however, in FME Server this will need to point to http(s)://<hostname>.<domain>/fmeoauth (Essentially you are telling Google once authorization is complete to redirect this information back to your FME Server).
In your Google App you should Create Credentials > Create OAuth client ID and set the Application Type = Web Application. On this page there is a section for 'Authorized redirect URIs' where you should add the above-mentioned URI. Once you save the app you will need to update the Client ID & Secret in the Web Service on FME Server to those generated for the web application.
Hi @jbchurchill ,
The Redirect URI you have will work in FME Desktop, however, in FME Server this will need to point to http(s)://<hostname>.<domain>/fmeoauth (Essentially you are telling Google once authorization is complete to redirect this information back to your FME Server).
In your Google App you should Create Credentials > Create OAuth client ID and set the Application Type = Web Application. On this page there is a section for 'Authorized redirect URIs' where you should add the above-mentioned URI. Once you save the app you will need to update the Client ID & Secret in the Web Service on FME Server to those generated for the web application.
I'm not sure that was exactly where I was stuck. I got past that part ok. With the popup I showed I was confused about where to put that code. I don't quite remember what I did but I don't think I needed it anywhere. I was confused about what credentials to use at the end but it was my user account on the fme server.
I'm not sure that was exactly where I was stuck. I got past that part ok. With the popup I showed I was confused about where to put that code. I don't quite remember what I did but I don't think I needed it anywhere. I was confused about what credentials to use at the end but it was my user account on the fme server.
Hi @jbchurchill ,
Yes, you don't need that code. That pop-up was displayed because of the redirect Uri that was specified in the web service definition, once this is corrected to point to FME Server, when you select 'Authorize' you'll first be prompted to enter your credentials, then you'll be asked to allow access to your account:
Once that's done, you'll be redirected back to FME Server and you'll see an Authorization successful message for your Web Connection: