Page 1 of 1

oAuth - experimenting with Slack - questions...

Posted: Wed Dec 02, 2020 2:53 am
by rodneyt
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