BenMorris / FunctionsCustomSercuity

A basic sample demonstrating how custom input binding can be used to support custom authentication for Azure Functions.
76 stars 22 forks source link

Environment Variables #10

Closed nickwinger closed 4 years ago

nickwinger commented 4 years ago

Hello and thank you for the Sample Code. I read through the Tutorial but i don't what these Environment Variables are: IssuerToken, Audience and Issuer.

I mean i tried to get the Audience and Issure from the OpenID-Token i receive from AzureAuthentication, but what or where is this IssuerToken ???

Thanks, Nick

BenMorris commented 4 years ago

These are values provided by the token issuer that are used to decrypt and validate the JWT token.

This should be explained in the original blog post (see "Validating the token"): https://www.ben-morris.com/custom-token-authentication-in-azure-functions-using-bindings/