use existing provider with new ClientId fails at getting the access token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Online Accounts setup for Ubuntu Touch |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am using the existing google provider to log in my app that requires google drive privilege. I provide my own ClientId, ClientIdSecret, RedirectUri and Scope in my .service file. The authorization process stop at url "http://
"http://
I notice that few apps use a custom ClientId based on existing provider. They either have new providers or existing provider already has enough privilege for application to use. I wonder whether someone has done this before.
my .service file:
<service>
<type>
<provider>
<name>Drive Scope</name>
<template>
<group name="auth/
</group>
</template>
</service>
my .application file:
<application>
<services>
<service id="com.
</service>
</services>
</application>
How I invoke online account:
inside Query::run()
...
unity:
...
Hi Boren, could you please enable signond debugging by typing this command on a terminal:
echo "LoggingLevel=2" > ~/.config/ signond. conf
and then try again? Then please attach the /var/log/syslog file here, making sure that you replace all access tokens with "XXXXX".