Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rakibmia7254/syncsign
This is a simple Single Sign-On (SSO) system implemented using Flask, a lightweight web framework in Python. This SSO system allows users to log in once and access multiple applications without the need to log in again.
https://github.com/rakibmia7254/syncsign
flask flask-api sso sso-authentication sso-server
Last synced: 1 day ago
JSON representation
This is a simple Single Sign-On (SSO) system implemented using Flask, a lightweight web framework in Python. This SSO system allows users to log in once and access multiple applications without the need to log in again.
- Host: GitHub
- URL: https://github.com/rakibmia7254/syncsign
- Owner: rakibmia7254
- License: mit
- Created: 2024-05-14T08:51:35.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-14T09:03:45.000Z (6 months ago)
- Last Synced: 2024-05-14T10:27:08.014Z (6 months ago)
- Topics: flask, flask-api, sso, sso-authentication, sso-server
- Language: HTML
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
SyncSign Single Sign-On (SSO) System
=================================This is a simple Single Sign-On (SSO) system implemented using Flask, a lightweight web framework in Python. This SSO system allows users to log in once and access multiple applications without the need to log in again.
Features
--------* Users can log in with their username and password.
* Session-based authentication to keep users logged in across multiple requests.
* Demonstrates how to protect routes for multiple applications with SSO.Run
------`app.py` is the server file run however you want
Usage
-----1. Set up a secret key for the Flask app. Open `app.py` and replace `'your_secret_key'` with a random secret key.
2. Run the Flask app:
`python app.py`4. Access the application in your web browser at `http://localhost:5000`.How it Works
------------* **Login:** Users can log in with their username and password. The credentials are validated against a database of users.
* **Session:** After successful login, the user's username is stored in the session to keep them logged in across requests.
* **Protected Routes:** The SSO system includes appID for applications (`signin/app_id` and `signin/app_id`). User Can login with those url. If a user is authenticated, they will be redirected to the respective application. Otherwise, they will see a message indicating that they are not logged in.Contributing
------------Contributions are welcome! Feel free to open issues or pull requests.
License
-------This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.