I am building an API, where I want to validate the Client id and Client secret, which is base64 encoded and passed as Authorisation token. in the Headers, I tried the below Oauth Policy but I am getting an invalid Client Error.
<DisplayName>OA-ClientCredentials</DisplayName> <Operation>GenerateAccessToken</Operation> <StoreToken>false</StoreToken> <ExpiresIn>01</ExpiresIn> <SupportedGrantTypes> <GrantType>password</GrantType> </SupportedGrantTypes> <GenerateResponse enabled="false"/> <GenerateErrorResponse enabled="false"/
Please find steps below to resolve your query.
It should be simple & quick to do same. Keep us posted if you see any issues.
Hi @Pranay Aitha, you can follow what @Anil Sagar has explained. If you need any other methods or clarification, have a look at this post(similar to your question),
@Pranay Aitha You can refer to a similar post here, which explains how you can do this with the VerifyAPIKey policy.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |