Skip to content

This is a secured api which requires a token to get the data. The azure active directory is identity server for the api. The clients needs to be registered to azure too where it will provide the secret or the certificate thumbprint to azure to get the token which is the passed to headers in the api call. The token needs to be passed as a bearer …

Notifications You must be signed in to change notification settings

arpitfs/aad-secured-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aad-secured-api

This is a secured api which requires a token to get the data. The azure active directory is identity server for the api. The clients needs to be registered to azure too where it will provide the secret or the certificate thumbprint to azure to get the token which is the passed to headers in the api call. The token needs to be passed as a bearer token in the authorization header. The following sets needs to done to register the api to azure.

Register app

  1. Register the application in azure active directory

  2. Expose the api

  3. Update the manifest

alt text

After registering the api you will get the resourceId and tenantId which will be used to tell the audience and authority for the api.

About

This is a secured api which requires a token to get the data. The azure active directory is identity server for the api. The clients needs to be registered to azure too where it will provide the secret or the certificate thumbprint to azure to get the token which is the passed to headers in the api call. The token needs to be passed as a bearer …

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages