Auth0 Home Blog Docs

How to use Auth0 on Azure Functions (v2) in C#?

jwt

#1

I need a blog posting showing how to use Auth0 on Azure Functions (v2) in C#

Please help!

I found this posting Validating Auth0 JWT tokens in Azure Functions aka How to use Auth0 with Azure Functions… but it for Azure Functions v1, on Azure Functions v2 this does not compile:

if ((principal = await Security.ValidateTokenAsync(req.Headers.Authorization)) == null) // error CS1061: 'IHeaderDictionary' does not contain a definition for 'Authorization'


#3

Hey @tonyhenrique

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!


#4

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.