Skip to content

invalid-secret-key | Algorithm not allowedΒ #179

@ivanrubberduck

Description

@ivanrubberduck

Hi team, when I make a request I receive the below error but I configured the plugin correctly as per the documentation:

Screenshot 2023-07-19 160324

Do you have any idea why this is happening?

I am using the latest Grahpql version and the latest JWT auth version as well. I added in my function the below code:

add_filter( 'graphql_jwt_auth_secret_key', function() { return env("AUTH_KEY"); });

And populated the AUTH_KEY from https://api.wordpress.org/secret-key/1.1/salt/

In the headers I am sending the token as per the documentation:

Screenshot 2023-07-19 160736

Metadata

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