oAuth - experimenting with Slack - questions...

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rodneyt
Posts: 128
Joined: Wed Oct 17, 2018 7:32 am

oAuth - experimenting with Slack - questions...

Post by rodneyt » Wed Dec 02, 2020 2:53 am

Hi all,

I've been experimenting with oAuth using the Slack example provided in the documentation.

I think this example should be updated to recommend users to store the returned oAuth results (e.g. add a tree widget to card and you could do something like: set the arrayData of widget "slack" to sAuthA then on preopencard: put the arrayData of widget "slack" into sAuthA
This way learners can also see the type of data returned easily and extract other useful information like the channel they are posting to.

Otherwise you'll have to renew the oAuth login every time you open the app/stack.

Does anyone know the correct process for revoking a login (logout)? I can't see anything in the documentation.

~ Rodney

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”