Authentication Service of SocialChat
- Chat: www.socialchat.live
- Live instance: https://www.socialchat.live/api
- Docker image registry: https://hub.docker.com/r/willianmga/social-chat-auth-service
- Front End: https://github.com/willianmga/social-chat-front
- Chat Server: https://github.com/willianmga/social-chat-service
- Authentication
- Logoff
- JWT Token Validation
- Signup
- Spring WebFlux and Spring Boot
- MongoDB Database
- Docker and Docker compose
- Deployment to AWS and Heroku
- JWT Tokens
- BCrypt hashes
- Java 8
- Maven
POST /v1/auth
: Authenticates a user and creates a sessionPOST /v1/auth/logoff
: Invalidates a previously created sessionPOST /v1/auth/token/valid
: Validates a JWT token confirming whether a session is valid or not.POST /v1/signup
: Registers and authenticates a new user
- CHAT_MONGO_SERVER
- CHAT_MONGO_USERNAME
- CHAT_MONGO_PASSWORD
- CHAT_MONGO_AUTH_DATABASE
- CHAT_MONGO_DATABASE
- CHAT_MONGO_CONNECTION_STRING
- JWT_SECRET_KEY