As an end user, I want the Auth service to meet the requirements.
-
The Auth service fulfills the documentation. -
The Auth service has been deployed at the specified route in assignment-routes.json (see example nginx config below) -
All references to the Auth service in the assignment-routes.json file have been edited. -
Any additional features implemented in the Auth service have been documented and linked in the assignment report.
Deploying the Auth Service
The Auth service should be deployed on your CSCloud server. Here is an example route for the NGINX configuration:
location /picture-it/api/v1/auth/ {
proxy_pass http://localhost:3010/api/v1/;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
}
Edited by Mats Lock