OAuth2 lib https redirects

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Posts: 153
Joined: Wed Sep 07, 2011 10:56 am

OAuth2 lib https redirects

Post by seaniepie » Wed Sep 08, 2021 1:12 pm

What is the method for dealing with the OAuth library when the provider (Salesforce in this case) requires a https redirect uri? OAuth is supposed to work by listening to the localhost

If I set it up with and listen on port 66666 the OAuth browser takes me to the website dashboard after login rather than close it down and return the response. Instead, we are forced to click the cancel button and we just get the response "Cancel".
Any help?


VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 140
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany

Re: OAuth2 lib https redirects

Post by matthiasr » Wed Sep 08, 2021 9:05 pm

i remember that you posted something similar "Collaborative help request for oAuth2 access to DocuSign) to the use list in June with some sample code, which contained a parameter which was not necessary, but was shown in an example in the LC dictionary.

So i am sure, this is not the case here. ;)

There was a discussion in 2020 in the uselist where someone posted a similar problem (OAuth2 on Win10: not returning to my app).
The problem there was, that a refresh token was ulrencoded twice. Just a shot in the dark without a sampel script....



Post Reply

Return to “Internet”