Adam, Finallly got time to work on this. The headers page now shows the https protocol header.
[{“Accept”:“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7”,“Connection”:“keep-alive”,“Host”:“riapp.nsd.org”,“User-Agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.82”,“Accept-Encoding”:“gzip, deflate, br”,“Accept-Language”:“en-US,en;q=0.9”,“Cache-Control”:“max-age=0”,“Upgrade-Insecure-Requests”:“1”,“Via”:“HTTPS/1.1 10.1.22.27:443”,“sec-ch-ua”:“"Not.A/Brand";v="8", "Chromium";v="114", "Microsoft Edge";v="114"”,“sec-ch-ua-mobile”:“?0”,“sec-ch-ua-platform”:“"Linux"”,“DNT”:“1”,“Sec-Fetch-Site”:“none”,“Sec-Fetch-Mode”:“navigate”,“Sec-Fetch-User”:“?1”,“Sec-Fetch-Dest”:“document”,“X-Forwarded-For”:“10.1.22.32”,“X-Forwarded-For-Port”:“39680”,“X-Forwarded-Protocol”:“https”,“X-Original-For”:“[::ffff:10.1.22.15]:9800”,“X-Original-Host”:“riapp.nsd.org”}]
The problem is that PSU is still sending http in the request to MS for authentication:
AADSTS50011: The redirect URI ‘http://riapp.nsd.org/auth/signin-oidc’ specified in the request does not match the redirect URIs configured for the application ‘8a9237e2-9002-49e8-b749-ef3f54ca46a0’. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to Error AADSTS50011 the redirect URI does not match the redirect URIs configured for the application - Active Directory | Microsoft Learn to learn more about how to fix this.
When I am on the MS Enter password page, the URL is:
login.microsoftonline.com/cf138e27-2493-447d-b195-53dd5fd26163/oauth2/authorize?client_id=8a9237e2-9002-49e8-b749-ef3f54ca46a0&redirect_uri=http%3A%2F%2Friapp.nsd.org%2Fauth%2Fsignin-oidc&response_type=code
so you can see that something is putting http, not https in the response URL.
The setup is SSL to the Kemp, then non-ssl between the kemp and the PSU server.