cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
714
Views
0
Helpful
2
Replies

Looking for a Python or, NodeJS sample script to build Webex OAuth

sandiban
Cisco Employee
Cisco Employee

Query from @alan Gardner over #webex4devs space - 

Hi All, Looking for a python script or node.JS Application that performs oauth and then allow you to Create users? Anyone know a example that I could use?

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

This repo has various examples of performing Webex OAuth - including server-side Node.js - that might be helpful: https://github.com/CiscoDevNet/webex-teams-sso-samples

sandiban
Cisco Employee
Cisco Employee

Hi Alan,
To build OAuth, you can test and use this Python sample script using Flask - https://developer.webex.com/blog/using-oauth-2-with-webex-in-your-flask-application
This is the most updated and recently created which should work fine.
However, to create Users - you need to use the /create-a-person API by your own and implement/automate that in the code. There is no inbuilt version for that though.
Let us know for any further assistance!
Regards,
Sandip