{"repo":"idandaccess/azure-functions-auth","free":true,"listed":false,"github":"https://github.com/idandaccess/azure-functions-auth","clone":"git clone https://github.com/idandaccess/azure-functions-auth.git","description":"Authentication and Authorization for Azure Functions (with OAuth 2.0 and JWT)","language":"JavaScript","stars":18,"topics":["identity-management","authentication","authorization","azure-functions","javascript","oauth2","jwt","azure"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"azure-functions-auth Authentication and Authorization for Azure Functions (with OAuth 2.0 and JWT) Configuration Usage Callback Style In case of an invalid JWT context.res gets populated accordingly and context.done() gets called. Async Style In case of an invalid JWT a specific error and status code get returned. Make sure to have your function host is configured to use function's return value. Regarding the http output your function.json should look like the above. In order to do tests, of course you still can export your functions. Calling your function Now when you make a call to the Http endpoint you'll need to add an Authorization header, e.g.: Attribution This code is based on https://github.com/sandrinodimattia/azure-functions-auth0","default_branch":null,"files":null,"tree":[],"storefront":"/r/idandaccess","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/idandaccess/azure-functions-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}