Welcome to Taille-Auth, the initial server responsible for allowing Irish taxis to use a low-cost solution to authenticate and gain access to a suite of future taille-server services. This project is written in Rust using the actix-web framework and is currently under active development.
- Purpose: Provide a minimal authentication service to login and generate temporary JWT token pairs.
 - Tech Stack:
 - Database:
 - Open Source: The project remains open source to encourage community collaboration and transparency.
 
- Login:
- Clients authenticate with credentials (to be defined) to obtain a short-lived JWT pair (access + refresh) tokens.
 
 - Protected Routes:
- Once authenticated, these tokens allow clients to access other taille-server services in the ecosystem.
 
 
- Currently, only clients with a valid 
MASTER_KEYbearer token can create new users. - In the future, this mechanism will be replaced with more secure service keys, ensuring a more refined and role-based approach for user management.
 
This project is still in the early stages:
- No Database: User data is currently handled in-memory or via static files. Future versions will integrate a database solution.
 - Security Enhancements: While JWTs and 
MASTER_KEYprovide basic access control, future updates will introduce improved security measures. 
- 
Prerequisites
- Rust (stable release recommended)
 
 - 
Clone the Repository
 
git clone https://github.com/your-org/taille-auth.git
cd taille-auth- Build and Run
 
cargo run- Run tests
 
cargo testContributions are welcome! Feel free to open issues and pull requests. Check out our contribution guidelines (coming soon) for more details.