Trying to setup token auth but whenever I try to log in it results in a 500 error. I know the error lists HTTP but I am using HTTPS and have that set in all URLs in the app manifest.
If I leave everything else the same can change “id_token token” to “id_token code” I am able to log in, just no $Session or $accesstoken is available.
Just double checking that you looked in the logs in %ProgramData%\PowerShellUniversal. You should be able to search for [ERR] to find the culprit of the 500 error.
Trying to use it in a script to with connect-azaccount to register an Azure keyvault.
The example in the documentation would result in an error that it couldn’t connect when using connect-azaccount.
I am using a onprem hosted version of PSU.