fallen-ecstasy / NovaCode-Server

An Upcoming open-source coding platform on GitHub for collaborative problem-solving, featuring a user-friendly interface, real-time code collaboration, detailed analytics, and a vibrant community. Empowering coders of all levels to learn, contribute, and grow together.
4 stars 4 forks source link

Feature : Create a Login and Logout API based on OAuth #3

Open fallen-ecstasy opened 1 year ago

fallen-ecstasy commented 1 year ago

Create Login API

Request Format

{
email: String,
pass: String
}

Response Format

{
message : String,
token_type: "Bearer",
token : String
}

OAuth Task


Create Logout API

Request Format

header:{
...
Authorization : "Bearer SOME_TOKEN"
}

Response Format

{
message : String,
}

OAuth Task


Testing

Zenith-17 commented 1 year ago

Hi, I am interested in working on this issue, Kindly assign it to me.