[Ugent] Google API Login failure

339 views
Skip to first unread message

Alan

unread,
May 26, 2015, 8:48:17 PM5/26/15
to suppor...@runmyprocess.com
Hi Team,

We are using Google API login connector in CAPI. Today, this connector return fail message.

Connector > Google API Login > Login Spreadsheet

in this connector test mode, it returns like below.

P_Header
{"Pragma":"no-cache","Server":"GSE","Content-Type":"text/plain","Cache-control":"no-cache, no-store","X-Content-Type-Options":"nosniff","Date":"Wed, 27 May 2015 00:30:56 GMT","X-Frame-Options":"DENY","Alternate-Protocol":"443:quic,p=1","Expires":"Mon, 01-Jan-1990 00:00:00 GMT","Content-Length":"65","X-XSS-Protection":"1; mode=block"}


P_status
{"name":"Not Found","desc":"Not Found","code":404}

Our customer users can't use service now. Please comment me.

Regards,
Alan.

Pray Desai

unread,
May 26, 2015, 8:53:25 PM5/26/15
to suppor...@runmyprocess.com
Hi Alan,

Google has discarded Client Login/Password as authentication scheme and now only OAuth2.0 should be used for authentication. 

Refer :

You should replace Login/Password with Oauth2 as described in our documentation :



Regards,
Pray Desai,
Fujitsu RunMyProcess.


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/a953a850-1abf-481b-a5a2-29f500be5692%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

al...@wedosoft.net

unread,
May 26, 2015, 10:51:32 PM5/26/15
to suppor...@runmyprocess.com
Hi Pray,

Thanks for blazing and fast reply.

I refered OAuth2 document and generated project. After that, Do I have to refer dropbox oauth document? Or, Can I use Provider "Google Oauth2 authentification > Refresh access Token or Retreive refresh token"?

Nowtime our customer can't use service. If possible, can you kindly support via remote?
Or could you explain to set up google oauth2 setup more easily?


Regards,
Alan.

Pray Desai

unread,
May 26, 2015, 11:05:33 PM5/26/15
to suppor...@runmyprocess.com
Hi Alan,

If you need to use each end user's authentication, then you can follow the dropbox tutorial below to get access token. Then each end user will see a consent screen to allow RMP to access his spreadsheets first time they access. You can renew access token via CAPI and it will maintained for each user separately by RMP in its provider.
http://docs.runmyprocess.com/Integration_Guide/OAuth2/Google
http://docs.runmyprocess.com/Integration_Guide/OAuth2/Dropbox


Another approach is incase if you are looking to use access token of a system admin instead of each end user, you can refer to attached documents. It has a one-time step for a system admin to get auth code using client id, secret key. Then get refresh token that can authenticate connector calls on behalf of all other users using its access token provided you mention query paramter access_type=offline in the one time connector call's url to get refresh token. In this approach, access token needs to be renewed after every manual task as it expires in 10 minutes.


Regards,
Pray Desai,
​Fujitsu RunMyProcess.


Regards,
Pray Desai,
Fujitsu RunMyProcess.

Google Oauth2 Calendar.pdf
google spreadsheets api example.pdf
google_oauth2.pdf

Lee, Woo-Seok

unread,
May 27, 2015, 3:28:03 AM5/27/15
to suppor...@runmyprocess.com
Hi Pray,

Thanks for helping. I followed dropbox guide. But I can't figure out token registration.

본문 이미지 1


본문 이미지 2


본문 이미지 3


I made webinterface like "Dropbox OAuth Token Redirector" and when I click Authorize, it redirected google auth page. Authorize redirect url is like this.


But as I attached screenshot, it returns error. Could you check point what I have to check?

Regards,
Ala.


You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/smCuhu3k3YU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to supportforum...@runmyprocess.com.

To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

Lee, Woo-Seok

unread,
May 27, 2015, 4:25:51 AM5/27/15
to suppor...@runmyprocess.com
Hi Pray,


I catch console error message when error occured.

function registration_success(result) {
}
function registration_failure(error) {
    alert( JSON.stringify(error));
}
var registration_parameters = {};
registration_parameters.code = RMPApplication.getVariable('code');
id_google_oauth_token.trigger(registration_parameters,{},registration_success,registration_failure);
undefined
184637?P_mode=TEST&state=security_token%3DUGsztDI1k5xawhj1dCavz18r&code=4/SGZ0TJRkvLN3pgz1c7DUO6ndr…:16 POST https://live.runmyprocess.com/live/114081403091833792/host/102787/service/183116?P_mode=TEST&P_version= 500 (Internal Server Error)nrWrapper @ 184637?P_mode=TEST&state=security_token%3DUGsztDI1k5xawhj1dCavz18r&code=4/SGZ0TJRkvLN3pgz1c7DUO6ndr…:16IA @ 0.js:1654JA @ 0.js:771lId @ 0.js:1524XHd @ 0.js:1139AId @ 0.js:1602Vyd @ 0.js:1775fNd @ 0.js:1549iNd @ 0.js:1565hNd @ 0.js:1415gNd @ 0.js:1232SYb @ 0.js:1635KYb @ 1.js:1214kUb @ 1.js:3236RMP_ListenerComponent.RMP_ListenerComponent.trigger @ rmp.js?vr=2&current=90:1(anonymous function) @ VM11340:9InjectedScript._evaluateOn @ VM11339:883InjectedScript._evaluateAndWrap @ VM11339:816InjectedScript.evaluate @ VM11339:682

al...@wedosoft.net

unread,
May 27, 2015, 5:02:05 PM5/27/15
to suppor...@runmyprocess.com, al...@wedosoft.net
On Wednesday, May 27, 2015 at 5:25:51 PM UTC+9, Lee, Woo-Seok wrote:
> Hi Pray,
>
>
>
> I catch console error message when error occured.
>
>
>
> function registration_success(result) {
> }
> function registration_failure(error) {
>     alert( JSON.stringify(error));
> }
> var registration_parameters = {};
> registration_parameters.code = RMPApplication.getVariable('code');
> id_google_oauth_token.trigger(registration_parameters,{},registration_success,registration_failure);
> undefined
> 184637?P_mode=TEST&state=security_token%3DUGsztDI1k5xawhj1dCavz18r&code=4/SGZ0TJRkvLN3pgz1c7DUO6ndr…:16 POST https://live.runmyprocess.com/live/114081403091833792/host/102787/service/183116?P_mode=TEST&P_version= 500 (Internal Server Error)nrWrapper @ 184637?P_mode=TEST&state=security_token%3DUGsztDI1k5xawhj1dCavz18r&code=4/SGZ0TJRkvLN3pgz1c7DUO6ndr…:16IA @ 0.js:1654JA @ 0.js:771lId @ 0.js:1524XHd @ 0.js:1139AId @ 0.js:1602Vyd @ 0.js:1775fNd @ 0.js:1549iNd @ 0.js:1565hNd @ 0.js:1415gNd @ 0.js:1232SYb @ 0.js:1635KYb @ 1.js:1214kUb @ 1.js:3236RMP_ListenerComponent.RMP_ListenerComponent.trigger @ rmp.js?vr=2&current=90:1(anonymous function) @ VM11340:9InjectedScript._evaluateOn @ VM11339:883InjectedScript._evaluateAndWrap @ VM11339:816InjectedScript.evaluate @ VM11339:682
>
>
>
>
>
>
> 2015-05-27 16:27 GMT+09:00 Lee, Woo-Seok <al...@wedosoft.net>:
>
> Hi Pray,
>
>
> Thanks for helping. I followed dropbox guide. But I can't figure out token registration.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Hi Pray,

I solved all problem. Thanks a lot.

Regards,
Alan.
Reply all
Reply to author
Forward
0 new messages