View Single Post
Old 10-11-2013, 07:39 AM   #1
mr.w0lf
n00b
mr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with othersmr.w0lf plays well with others
 
Posts: 58
Karma: 2802
Join Date: Jan 2012
Device: Kindle Touch
(weird) recipe opening a window

so, i am dealing with a Oauth driven site.. all code is fine, except that i had to hardcode authcode inside the recipe, after have manually retrieved it :/

At first i though to re-use one of the username/password to paste the auth_code but first i need to retrieve it, something that a normal user would find tricky.. any ideas?

note: calibre do not have to really deal with the oauth mechanism, the sequenze i have in mind is

Code:
  1. run recipe
  2. (if no oauth token is saved) open a popup / window with the proper oauth url
  3. do auth process
  4. retrieve auth_code
mr.w0lf is offline   Reply With Quote