Open mgroves opened 1 year ago
Got it working, but it's using "Authentication: Bearer {token}" instead of "Authentication: Token {token}"
Not sure how to change that (yet)
The issue was mainly with Swashbuckle. It's working now.
Need to add test(s) and database functionality.
Still need to add tests!
Add tests first, then make sure to add validation.
Unit tests and integration tests are in
https://realworld-docs.netlify.app/docs/specs/backend-specs/endpoints
Authentication Header: You can read the authentication header from the headers of the request
Authorization: Token jwt.token.here
Authentication:
POST /api/users/login
Example request body:
No authentication required, returns a User
Required fields: email, password