Azure Entra ID web page trough Apigee

Is it possible to route Azure container app web page through Apigee and use Azure Entra ID (Azure AD) authentication?

i tried .auth/login/aad?post_login_redirect_uri=https://custom.apigee.url but it doesnt redirect there.

Hi @taipignas - it is for sure possible, you can proxy the oauth or other login flows to Entry through Apigee. Ideally just check the documentation on getting a web app setup with Entra, and just put an Apigee proxy in place that fronts the Entra URLs. I am not aware of a template or guide, but it should be straightforward if you just use Apigee as a pass-through proxy to the Entry URLs.

I meant it a bit differently.

User goes to my web app through apigee, he is then redirected to https://login.microsoftonline.com…, then he is redirected back to my app with the callback post. This is where i get an error 500. I guess its not happy that i changed the redirect url.

Then you probably need to set the redirect to the Apigee URL.. I know in Identity Platform it’s the case - the redirect has to match or it will reject it..

The 500 is issued by a server-side system - that’s probably starting the obvious. And yes, if you use a redirect_uri in the OAuth flow (or OIDC), that URL must be registered, and must match exactly. Using an unregistered redirect_uri may cause a 500 to be returned by your OIDC server. If you examine the 500 error you may find more information.