Azure / api-management-policy-snippets

Re-usable examples of Azure API Management policies
MIT License
326 stars 147 forks source link

Policies and readme for a full front-channel OIDC flow #113

Closed graemefoster closed 9 months ago

graemefoster commented 10 months ago

I've had a few requests for APIm to provide a OIDC oauth-reverse proxy similar to App Service Authentication. The main reason is that some people cannot allow unauthenticated traffic to hit their backend APIs.

This set of policies provides the necessary endpoints / session management required for these flows.

NB: I'm not a security expert. I've done my best to follow the secure principals involved in OIDC, but it would be awesome if anyone with a security lens could review and feedback.