Hi In my project to make a library for connecting to an LMS I am trying to use oAuth2 to authorize with a Brightspace LMS instance from a Mac Desktop App. The oAuth2 dialog/browser appears I enter the credentials and then the login appears to succeed i.e. the LMS's home page opens in the dialog/browser. However the dialog does not close so I have to click the ‘Cancel’ button. So the result returned by the oAuth2 command is “cancel’ and there is nothing in the ‘it’ variable.
My redirect URI is https://127.0.0.1:54256 <https://127.0.0.1:54256/>. The LMS service requires https. LiveCode’s oAuth only allows http for the redirect URI. Could that be the issue? My guess is that once a response is received at the redirect URI then LiveCode’s oAuth2 dialog would close. Then the value of the token would be in the ‘it’ variable. Is that the case? The other issue may be that I don’t have the correct token URL parameter for the oAuth2 command. I am still checking into that. Any suggestions on how to get this working? Martin Koob VideoLinkwell, a service of Koob SourceText Solutions Inc. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode