Support OAuth 2.0 for Installed Applications

Hello,

Would it be possible to support OAuth 2.0 for Installed Applications?
https://developers.google.com/identity/protocols/OAuth2InstalledApp

I’m writing a Chrome extension that should be able to generate an invoice.
I am a contractor and I am required to submit timesheets via a web service.
Currently I need to create the timesheet twice: in the 3rd party web
service and a matching invoice in my FreeAgent. I would like the extension
to augment the 3rd party web service page and inject a button that will
generate an invoice in FreeAgent using the data from the page.

Currently I will have to run a web service just so that my extension can
get an access token. This is inconvenient.

Thanks
Jan

Hello,

Would it be possible to support OAuth 2.0 for Installed Application?
https://developers.google.com/identity/protocols/OAuth2InstalledApp

I’m working on a Chrome extension. It looks like I’m going to have to run a
server just so that my extension can get authorized by FreeAgent. It is
rather inconvenient.

Thanks,
Jan

Hi Jan,

If this extension is just for your own use, and including the client secret
in it is fine, you could probably avoid using OAuth for Installed
Applications. Just set the redirect URL in Developer Dashboard
https://dev.freeagent.com to something like
“chrome-extension://extension-id/token_capture.html”, and open the
FreeAgent OAuth workflow from the extension when there’s no token available.

Regards,
IoanOn Tuesday, June 2, 2015 at 7:35:38 AM UTC+1, Jan K wrote:

Hi Graham,

The thing is I am not implementing a web service. I would simply like to
talk to FreeAgent API directly from the Chrome extension, but it looks like
I’m gonna have to run a server just so that I can get user authorization.

I was also considering writing a command-line tool – same problem.

Hi Jan,

Thanks for clarifying your original email. We’ve no immediate plans to
support the Installed Applications flow that Google describes. If you are
implementing a service for your own use, could you get an access token by
other means (e.g. via Curl) for the extension to use? That would avoid you
having to run a web service.

Kind regards,

GraemeOn 31 May 2015 at 12:30, Jan K vanjan@gmail.com wrote:

Hello,

Would it be possible to support OAuth 2.0 for Installed Applications?
OAuth 2.0 pour les applications mobiles et de bureau  |  Authorization  |  Google for Developers

I’m writing a Chrome extension that should be able to generate an invoice.
I am a contractor and I am required to submit timesheets via a web service.
Currently I need to create the timesheet twice: in the 3rd party web
service and a matching invoice in my FreeAgent. I would like the extension
to augment the 3rd party web service page and inject a button that will
generate an invoice in FreeAgent using the data from the page.

Currently I will have to run a web service just so that my extension can
get an access token. This is inconvenient.

Thanks
Jan


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.

Graeme Boyd
Compliance & Mobile Engineering Manager

Web. freeagent.com http://www.freeagent.com/ Blog. The FreeAgent Blog - FreeAgent
Twitter. @freeagent https://twitter.com/#!/freeagent Facebook.
FreeAgent | Edinburgh

One Edinburgh Quay, 133 Fountainbridge, Edinburgh, EH3 9QG
FreeAgent Central Ltd. Registered in sunny Scotland SC316774

Hi Graham,

The thing is I am not implementing a web service. I would simply like to talk to FreeAgent API directly from the Chrome extension, but it looks like I’m gonna have to run a server just so that I can get user authorization.

I was also considering writing a command-line tool – same problem.