232
Views
2
Comments
Solved
Expose REST API using OAuth2 from Azure AD

Hi, I want to expose REST API using OAuth2 issued by Auzre AD. How do I validate bearer token from the REST API? Is there any component available in Forge? Please help.

UserImage.jpg
aung thiha
Solution

Thanks Jitendra for your comment. 

I managed to find the JWT component in Forge to validate token with STS provider.

I need to use both JWT and MicrosoftLoginConnector component to work the entire solution. 

MicrosoftLoginConnector will let you authenticate with Azure AD and obtain access token. 

Using that access token, JWT will let you validate that token against STS provider (Azure AD).


2024-06-19 07-19-32
JitendraYadav

aung thiha wrote:

Hi, I want to expose REST API using OAuth2 issued by Auzre AD. How do I validate bearer token from the REST API? Is there any component available in Forge? Please help.


You should create extension for it.

UserImage.jpg
aung thiha
Solution

Thanks Jitendra for your comment. 

I managed to find the JWT component in Forge to validate token with STS provider.

I need to use both JWT and MicrosoftLoginConnector component to work the entire solution. 

MicrosoftLoginConnector will let you authenticate with Azure AD and obtain access token. 

Using that access token, JWT will let you validate that token against STS provider (Azure AD).


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.