https://github.com/webexsamples/login-with-webex-flask
A sample flask application that implements Login With Webex, OpenID Connect, Authorization Code Flow
https://github.com/webexsamples/login-with-webex-flask
Last synced: about 1 year ago
JSON representation
A sample flask application that implements Login With Webex, OpenID Connect, Authorization Code Flow
- Host: GitHub
- URL: https://github.com/webexsamples/login-with-webex-flask
- Owner: WebexSamples
- License: other
- Created: 2024-01-26T20:49:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T17:47:55.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T23:41:37.937Z (about 1 year ago)
- Language: Python
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# login-with-webex-flask
A sample flask application that implements Login With Webex, OpenID Connect, Authorization Code Flow
## Dependencies
This project relies on several Python packages:
- Flask
- Requests
- JSON
- JWT
- os
- webbrowser
## Installation
Before you can run the project, you'll need to install the necessary dependencies. Here's how to do it:
1. Make sure you have Python 3 installed on your machine. You can check this by running `python3 --version` in your command line. If you don't have Python installed, you can download it from [here](https://www.python.org/downloads/).
2. Install the necessary packages using pip3. pip3 is a package manager for Python. You can install it following [these instructions](https://pip.pypa.io/en/stable/installing/).
3. Once you have pip3 installed, you can install the packages with the following commands:
```bash
pip3 install Flask
pip3 install requests
pip3 install jwt
```
Note: The json and os packages are part of the Python Standard Library, so you don't need to install them separately.
## Usage
After installing the dependencies, you can run the script using Python in your command line:
```bash
python3 login.py
```
## Contributing
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)