Hello,
I must check the algorithm found in the token to avoid some errors, because you can encode with HMAC or RSA, but if we choose RSA, we use #encode where the shared secret is an instance of RSA, and the problem it's that is different it's a string when we choose HMAC.
Because I store the shared secret in my DB, I want to make restriction on the availables algorithms.
Could you please update your gem, because my current answer to this problem require to get access your latest added method #decoded_segments.
Hello,
I must check the algorithm found in the token to avoid some errors, because you can encode with HMAC or RSA, but if we choose RSA, we use #encode where the shared secret is an instance of RSA, and the problem it's that is different it's a string when we choose HMAC.
Because I store the shared secret in my DB, I want to make restriction on the availables algorithms.
Could you please update your gem, because my current answer to this problem require to get access your latest added method #decoded_segments.