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

What are the values do you have in App Config #2

Closed gethari closed 5 years ago

gethari commented 5 years ago

Can you please explain the below code ? image

BenMorris commented 5 years ago

You'll need a file called local.settings.json sitting in your application root that defines these values. The values themselves are provided by your token issuer. The file will look something like this:

{
    "IsEncrypted": false,
    "Values": {
        "Issuer": "[token issuer url]",
        "IssuerToken": "[issuer token]",
        "Audience": "[token issuer audience]",
    }
}