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:
- run recipe
- (if no oauth token is saved) open a popup / window with the proper oauth url
- do auth process
- retrieve auth_code