aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

QA of authentication and authorization #230

Closed LouiseAJensen closed 1 year ago

LouiseAJensen commented 3 years ago

Description

Check that all endpoints that should be covered by authentication or authorization actually is covered. That entails returning proper responses when authentication fails as well as succesful responses when a user is authenticated and authorized.

Guide: https://umayangag.medium.com/jwt-authentication-with-asp-net-core-3-1-identity-for-web-apis-fe36d4bb6630

Sub Tasks

Create your own subtask issues on GitHub and link them here in a list.

JMyrtue commented 1 year ago

A month after this issue was created, pull request #246 added some authorize functionality.

Since this issue is not strictly formulated in regards to its succession criteria, we expect that the above mentioned pull request completes this issue.