Auth0 Home Blog Docs

Azure Functions Example C#

auth0
c
azure

#1

Has anyone had any luck using Auth0 in Azure Functions C#?

I haven’t had a lot of luck finding any boilerplates or documentation.

Thanks!


#2

We don’t currently have any samples specific samples for Azure functions - what type of use case are you looking to implement?

In saying that, we do have a blog post that outlines obtaining Google access_tokens in an Azure function:
https://auth0.com/blog/using-serverless-azure-functions-with-auth0-and-google-apis/


#3

I was thinking about trying to write a web API using Azure Functions. Wanted to explore using Auth0 as the auth provider.

Looking at that blog post looks like it’s possible, although I wanted to use C# and not node. Azure Functions provides full access to HTTP request so if I could get the token out of a header does auth 0 provide a nuget package I could simply use to validate that token and get back some sort of user id and info?


#4