Authentication service
pip install lapa_authentication
- python>=3.12.0
- https support
- bugfix in login and register call (update column name).
- remove device entity.
- keep refresh token without hashing in database.
- changed jwt token creation timezone to utc.
- handled token expiry exception while decoding token.
- update repo link in setup.py
- keep version numbers for square_logger and lapa_database_structure as >= instead of ~=.
- add SQUARE_LOGGER and LAPA_DATABASE_HELPER sections in config and initialise their sdk as per those variables.
- add new call for /logout.
- add new call for /generate_access_token.
- add custom message and status code for duplicate username.
- delete session if already present on same device for same user.
- encrypt mac_address in login and register.
- keep seperate secret keys for access token refresh token and mac address encrpytion.
- create entry in device table and user_session_device table for login and register.
- changes in login and register calls as per database structure changes (naming convention)
- changes in register calls w.r.t new table Credential
- fix missing dependencies in setup.py
- remove salt storing from register.
- implement login route.
- overhaul register logic.
- overhaul tablename import logic.
- syntax error fix in main.py.
- update database tables.
- move reading of database tables to configuration.py.
- bug fix - add "email_validator>=2.0.0" in dependencies.
- use lapa_commons to read config.
- move logger to configuration.py.
- remove unused dependencies.
- add lapa_database_helper.
- /register endpoint added.
- Before adding user into the authentication server. It will first check if the user's email-id is already present
in the database or not.
- If Yes -> Do not create entry in the database. Return message saying user already exists.
- If No -> Create entry in the database. Return message saying user created successfully.
- Before adding user into the authentication server. It will first check if the user's email-id is already present
in the database or not.