The documentation regarding OpenID Connect using Azure AD as an authentication source is incorrect. I advise that no one attempt to try it until Ironman Software corrects it.
I have just tried the client secret key instead of the actual secret and that also leads to the same error that the URL doesnât match what Azure AD has for allowed URLs. I have followed the instructions exactly so I am hoping that Ironman Software can improve the error handling of that portion of the code. Iâll skip OIDC until the bug is fixed or the documentation is corrected.
Hey dlloyd,
I wouldnât flat out advise people not to attempt OIDC based on your experience with the PSU docs, a lot of people use this currently and have had no problem getting setup using the official docs as they are - even if they could do with some tweaking to make things clearer, based on my experience I didnât see that they were incorrect.
Also your statement about Ironman software improving error handling - it doesnât really apply here, your config is wrong and the error is coming from Azure, not from PSU, this is not a bug.
That aside, here is my config if it helps you get going:
Also, based on the error youre getting from azure, the call back that PSU is making, is not matching what you have registered in your app reg.
Iâd do a couple of things here, confirm that its coming from http or https, add both if necessary.
Also, make sure youâre logged out of azure when you attempt to try PSU login using OIDC, when you get to the login page, check the call back url as itâs being made in the browser address bar, itâll look something like this:
Look for the redirect_uri= in the address.
Best to do this in a incognito tab incase thereâs any cached logins already and it doesnt try to make the attempt.
Also note that youâll need to use HTTPS for the redirect back to PSU to work in Chromium. Using HTTP will result in a 500 error, as mentioned in the docs.
I can confirm that the error appears on non-Chromium based browsers as well.
PorreKaj: We have the free version so I am forced to use HTTP for now until I can prove to management that it is a viable system. So far OIDC and published folders are not working so I am creating workarounds for them until Iron Man Software addresses the issues.
I do believe PowerShell Universal OIDC doesnât work with the free version. Not sure if it is intentional or even known by Iron Man Software but I have a feeling now that I paid for it and am using HTTPs, it will work. Just need to get into my account firstâŚ