-
Notifications
You must be signed in to change notification settings - Fork 449
Log in using Swagger UI
Isabel Costa edited this page Dec 26, 2018
·
1 revision
This page shows how to log in a user and then use the User token to access a restricted API.
- Go to POST /login API under Users section and click "Try it out" button:
- Use valid credentials in the request body. Valid credentials mean username/email and password from a user that has already been registered to the System and has its email verified. Then click the “Execute” button:
- Copy the access token returned in the response (highlighted in blue).
- Then use it in a restricted API, e.g.: GET /user to get the logged in user’s profile. Paste the access token as indicated in the Authorization field following this example: “Bearer <access_token>”.
- Then hit the “Execute” button, and you’ll be able to receive a proper response.
Documentation
- Project Requirements
- Setup and Install
- Development
- Database Design
- Initial Docs
- Main Concepts
- Future ideas
- OSH Designs
GSoC Students
- 2018 - Isabel Costa
- GSoC All Final Reports