Hey there Hanumant Sidraya
Thats a good question and thanks for using QandA platform.
Yes its possible You can start with generating an ECDSA key pair using OpenSSL or any other suitable tool that supports generating ECDSA keys with the P-521 curve.
For eg, you can use OpenSSL with the following command:
openssl ecparam -name secp521r1 -genkey -noout -
Once you have generated the public key (public.pem
), register it with your OAuth system or identity provider.
now configure API Management Service, byy
- Log in to the Azure portal and navigate to your API Management instance.
- Select the API where you want to apply JWT validation.
- Under the API management instance, go to the "Security" section.
- Choose "JWT" as the authentication type.
- Configure the JWT validation policy to specify the ECDSA algorithm, curve, and hashing algorithm.
- Upload or provide the public key (
public.pem
) that was registered with your OAuth system. - Save the changes.
If this helps kindly accept the answer thanks much.