CenterForDigitalHumanities / TPEN-services

Services required by TPEN interfaces in order to interact with data
1 stars 0 forks source link

Test User Class #113

Closed thehabes closed 4 months ago

thehabes commented 4 months ago

Testing procedure

Go to https://user.t-pen.org and log in to get the Bearer Token. Make sure there is no tpen.user in your mongo with an agent property that matches in the agent in the token.

npm start

Make an authenticated request to http://localhost:3009/user/tester

image

Check logs for info.

The desired result is a tpen.users user whose _id matches the hash from the Agent URI.