ForumsDevelopersLotusscript and OAuth2


Lotusscript and OAuth2
Author Message
dgaie

Posted: Apr 01, 2014
Score: 0 Reference
Hi,

I tried to create an Lotus Notes application to synchronise Toodledo account with a local LN DB.

I don't know how to authenticate the account to Toodledo from a local Notes application (I'm developping in LotusScript language)
We need to add a Redirect URI when we register a new application, but the location is not the same for desktop.
A Database Lotus Notes URI is like : "Notes:///C1257CA80F32B282/D1F7FCCA47560C7DC12579D6004F961E", but this URI is specif to this application on my computer.
Do you know :
1/ Which Redirect URI I need to register
2/ How to catch the "Authorization Code" within my local Lotus Notes application after the Authorization ?

Thank you in advance for your help
Jake

Toodledo Founder
Posted: Apr 01, 2014
Score: 0 Reference
What you'll probably want to do is present the login form inside of a iframe or webview or whatever it is called in Lotus Notes. Then you put in a fake redirect url for your app. Then you will hijack the redirect from Toodledo.com so it never actually goes to the fake redirect url and instead gets captured by your script and you can strip off the authorization code.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.