icipe-official / icipe-official/vectoratlas-software-code
Add auth workflow to the backend
Open
@andykitch is already working on this.
Since Aug 19, 2022.
3
sprint 1
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 8
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 11
Description
Some of the API endpoints will need to be secured against access by non-authenticated users. The UI will be using Auth0 for login, so the backend will use the auth0 passport library to handle token validation, as covered in https://auth0.com/blog/developing-a-secure-api-with-nestjs-adding-authorization/#Create-an-Authorization-Module.
Acceptance Criteria:
- A new endpoint exists on the backend at /auth, which returns true if the requests includes a valid bearer token, and false otherwise
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.