You can view backend project or mobile project by below link!
-
3.1. Security
3.1.1. JWT Token
3.1.2. Email Vertify
Blankcil is created and developed by a student team from Ho Chi Minh City University of Technology and Education. It's a basic social media platform but focuses on podcast content.
STT | Fullname | STUDENT ID | Username | Status |
---|---|---|---|---|
1 | HUỲNH TRUNG KIÊN | 21110223 | K0l4s | Developing |
2 | NGÔ MINH THUẬN | 21110314 | nauht1 | Developing |
3 | NGUYỄN HOÀNG PHƯƠNG NGÂN | 21110254 | PhuongNgan2304 | Stopped |
4 | NGUYỄN THẾ THÀNH | 21110300 | thanhnt932 | Stopped |
Initially, the project was developed by four contributors and submitted for the 'Object-Oriented Software Technology' subject. However, the team split into two groups. The project is now being developed by HUỲNH TRUNG KIÊN and NGÔ MINH THUẬN and will be submitted for the 'Graduation Thesis Project'.
With authentication and authorization, we use Spring Security to protect the project with JWT Token. To verify real users, we utilize email to send a pin number. Users are required to input this pin, obtained from the email, into the Verification Page in order to use our website.
With Authenticate, when the user sends their email and password to the server, we use the AuthenticationManager class of Spring Security to confirm the information. Finally, we send a response with a token that is encoded using the UsernamePasswordAuthenticationToken method in the UsernamePasswordAuthenticationToken class provided by Spring Security. Below is JWT Flow Diagram
We use email to verify users when they complete the registration process. The server will send an email notification to verify the user. This email will include a 6-digit PIN.
The format of the EMAIL:
The Vetify Page: