<div dir="ltr">Hi , <div>First time I am trying to use auth_jwt module with opensips 3.1 . </div><div><br></div><div>When I am generating jwt token by using HS256 algorithm and adding the corresponding tag and key in opensips DB then opensips is able to decode the token successfully . </div><div><br></div><div>When I am generating the token by using RS256 algorithm  and both private and public key in the corresponding to the token in the db then opensips is not able to decode the token using that key . </div><div><br></div><div> DBG:auth_jwt:jwt_authorize: Found 2 record for tag 1234567890<br> DBG:auth_jwt:jwt_authorize: Failed to decode jwt with DB secret<br> DBG:auth_jwt:jwt_authorize: Failed to decode jwt with DB secret<br></div><div><br></div><div>for both the secrets this is the error I am getting . How will I do this ? What should I add in secret column corresponding to the token ?</div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div></div></div>