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.

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.

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).


Solution