Skip to content

This provides sample app for authenticating Azure Functions endpoints by OAuth through the integrated Swagger UI.

License

Notifications You must be signed in to change notification settings

devkimchi/azure-functions-oauth-authentications-via-swagger-ui

Repository files navigation

Azure Functions OAuth Authentications via Swagger UI

This provides sample app for authenticating Azure Functions endpoints by OAuth through the integrated Swagger UI.

Prerequisites

To run this sample app on your local machine, you should be able to access Azure Active Directory in your tenant. Otherwise you can create a free Azure Account.

List of Authentications

  • API Key in the querystring
  • API Key in the request header
  • Basic authentication
  • Bearer authentication
  • OAuth2 implicit flow
  • OpenID Connect flow
  • Easy Auth flow

The following OAuth2 auth flow doesn't support due to the limitations

  • OAuth2 authorisation code flow - needs PKCE certificate that supports from OpenAPI spec v3.1.0
  • OAuth2 client credentials flow - needs server/daemon

Related Read

About

This provides sample app for authenticating Azure Functions endpoints by OAuth through the integrated Swagger UI.

Topics

Resources

License

Stars

Watchers

Forks