Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.31 KB

File metadata and controls

31 lines (18 loc) · 1.31 KB

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