Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CiscoCollabTME/pyIntegration
A Python Flask Integration Demo
https://github.com/CiscoCollabTME/pyIntegration
Last synced: about 1 month ago
JSON representation
A Python Flask Integration Demo
- Host: GitHub
- URL: https://github.com/CiscoCollabTME/pyIntegration
- Owner: CiscoCollabTME
- License: mit
- Created: 2018-05-15T16:02:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:05:33.000Z (about 2 years ago)
- Last Synced: 2024-08-04T16:12:10.454Z (5 months ago)
- Language: HTML
- Size: 1.97 MB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-webex - pyIntegration - Flask OAuth example utilizing ciscosparkapi (by lorashley). (Code samples / Bot samples)
README
# Python Application for a Webex Teams Integration
## Python Sampler
### Splash Page
A simple plash page with a 'Sign In' button that triggers the Oauth process if no token is stored in the session.
![Splash Page](https://user-images.githubusercontent.com/11665315/40385446-95227e1c-5dd4-11e8-8192-0e126b684a6c.png)### Login
Login via Webex Teams
![Login Page](https://user-images.githubusercontent.com/11665315/40385449-97acfc3e-5dd4-11e8-87c1-212401925b88.png)### Display Target Page
Render a target page (in this case /hello) in which you have the token data in the session. This page utilizes the [Python Webex Teams API](https://github.com/CiscoDevNet/ciscosparkapi/tree/master/ciscosparkapi) to get the user's display name and render that to the page.
![Target/Hello Page](https://user-images.githubusercontent.com/11665315/40385455-9aa097ca-5dd4-11e8-8592-52e0ca738000.png)## Use the Demo
[Heroku Hosted Demo](https://webexteamspyoauth.herokuapp.com/) that utilized the **gmail** org. Email addresses that do not end in **@gmail.com** will not result in a successful login.## Quick Deploy
1. Create a [Webex Teams Integration](https://developer.webex.com/add-integration.html): the redirect url will behttps://.herokuapp.com/callback
. Don't navigate away, you'll need some details to deploy to heroku.
2. [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)