I have been testing out PSU on my local machine and everything was working with an unlicensed version. Recently we purchased a license , i cannot get jwt auth or connect via VS Code.
I have created an app token with admin as the identity and Administrator as the role.
I pasted my token into VS Code and it 401s each time it tries to connect.
I manually recreated some endpoints from our test machine, and they will work of Authentication is turned off. With it turned on, i get a 401 despite using the described method to test.
I could not get the logging to work. I tried going to platform → logging and adding a file target with a level of debug but no file was ever generated.
Instead I launched the server from a console and read very fast.
The problem for me was that the token I created had no expiration date; I saw a warning flash by that authentication failed because token lifespan couldn’t be verified.
Creating a new token and setting a year lifespan fixed the problem for me.