PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0
Showing posts with label microsoft-identity-platform. Show all posts
Showing posts with label microsoft-identity-platform. Show all posts

Saturday, August 6, 2022

[FIXED] Why should I enabled OAuth from APIM when it is already secure using Microsoft Identity platform

 August 06, 2022     azure-api-management, microsoft-identity-platform, oauth     No comments   

Issue

I have created a Web API using .net core 5. I have secured the app using the Microsoft Identity platform. Clients app are able to get to the resource based on their scope/role. So I know that my api is secure.

Now, I need to add the API to Azure API Management tool. So my question is should I enable OAuth from the Azure API Management to secure my web api even though my app is already secured?. What would be the reason that I enable OAuth from API management?


Solution

APIM is a proxy to the backend APIs and implementing security mechanisms to give an extra layer of security to prevent unauthorized access to APIs is a recommended practice.

Configuring OAuth 2.0 Server in APIM merely enables the Developer Portal’s test console as APIM’s client to acquire a token from Azure Active Directory. In the real world, customer will have a different client app that will need to be configured in AAD to get a valid OAuth token that APIM can validate.

OAuth is an authorization framework which allows a recognized client to acquire an access token from an authorization server.

As given in this Microsoft Doc, the Microsoft Identity Platform uses the OAuth 2.0 protocol for handling authorization.

Please find below references makes you how OAuth secures the Web APIs/Services:

  • OAuth 2.0 and Azure API Management
  • How does OAuth secure Rest API calls
  • Protect APIs using OAuth 2.0 in APIM


Answered By - HariKrishnaRajoli-MT
Answer Checked By - Dawn Plyler (PHPFixing Volunteer)
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Older Posts Home

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Copyright © PHPFixing