Coder Social home page Coder Social logo

ozgurkarahan / backend Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 33 KB

A sample web api in .Net core using Open Id connect with Azure AD. It contains the arm templates to deploy on an azure api app with with necessary app settings. In addition, there is also the arm template to import swagger to an Azure API Management Instance.

C# 100.00%
arm-templates azure swagger apim azure-api-management azure-api backend

backend's Introduction

Azure Api Management Backend Web Api Example

I use this example as a poc to demonstrate jwt token validation for Azure Api Management

This repository contains:

  • A sample back end web api in .Net core 2.0 using OAuth 2.0 with Azure AD.
  • Arm template to deploy on an Azure Api App with necessary app settings. Template parameters:
  • Name Description
    apiAppName The name of the azure api app
    appServicePlanName The name of the azure app service plan
    Domain The name of the Azure Active Directory, the tenant
    TenantId The Id of the Azure Active Directory, the tenant id
    Audience The Uri of the service principal, Azure AD Application, created in Azure AD
  • Arm template to import an api via a swagger to an Azure API Management Instance. The template adds also the imported api to the unlimited product (it exists by default in azure api management instance) with the jwt validation policy. Template parameters:
  • Name Description
    apimServiceName The name of the existing Azure Api Management Instance
    apiName The name of the api in Azure Api Management
    serviceUrl The url of the backend api (in our case the url of the Azure Api App that has been created with the webapp template)
    swaggerUrl The url of the swagger of the backend api
    suffix The suffix that will be added to the Azure Api Manegement Gateway Url (contoso.azure-api.net/suffix)
    policyContent The policy of the api which is used for jwt validation
    productName The name of the product exising in Azure Api Management that the imported api will be added

backend's People

Watchers

 avatar  avatar

Forkers

ssojha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.