You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let sess = UserSession::by_user_id(&cred,&format!("test_{}", uid),false).expect("failed to create a user session");let token = sess.access_token();UserSession::by_access_token(&cred,&token).expect("invalid test token");
panic with invalid test token: Generic("No secret for kid")
The header of created jwt is
{
"alg": "RS256",
"kid": "tB0M2A"
}
To Reproduce
Steps to reproduce the behavior:
Create an access token with UserSession::by_user_id
Pass the access token to UserSession::by_access_token