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
functiontokenClaimMatch(val,exp){letarrayMatch=false;// Array claims are passed through via auth_jwt_set as strings// e.g. from [ "a", "b" ] to "a,b"if(val&&val.includes(",")){arrayMatch=val.split(",").map(v=>v.trim()).includes(exp);}returnarrayMatch||val===exp;}
Notes:
Look to Aha for additional details
This POC can ignore state sharing
The text was updated successfully, but these errors were encountered:
Questions to answer, and things to consider, during this POC:
$jwt_
variables are required to expose this behaviour?Example code for processing nested claims:
Notes:
The text was updated successfully, but these errors were encountered: