Skip to content

undefined method `verify' for nil:NilClass when validate a JWT with JWK #383

Closed
@danielweil

Description

I am trying to validate my JWT token using jwk, the same way it is present in the documentation, but I keep receiving the error:

"undefined method `verify' for nil:NilClass"

Can someone help me?
I get my jwk from my keycloak server, and it is a hash, with the right format.

image

image

Thanks!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions