Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The env SESSION_WHOAMI_TOKENIZER_TEMPLATE_TEST_JWKS_URL doesn't work. #3865

Open
3 of 5 tasks
iBakuman opened this issue Apr 10, 2024 · 0 comments
Open
3 of 5 tasks
Labels
bug Something is not working.

Comments

@iBakuman
Copy link

Preflight checklist

Ory Network Project

No response

Describe the bug

I tried to set the value of the jwks_url varialbe via environment variable, buf after setting it as follows, Kratos reported an error saying that it couldn't find the template.

For example:

export  SESSION_WHOAMI_TOKENIZER_TEMPLATE_TEST_JWKS_URL="https://your_host"

Reproducing the bug

  • Deploying Kratos v1.1.0 using Docker
  • After logging in, calling shoami/sessions with the tokenize_as paramter set to test results the following error:
{
    "error": {
        "code": 400,
        "status": "Bad Request",
        "request": "613e705be3d13bdac7d493f5e5a55015",
        "reason": "Unable to find tokenizer template \"test\".",
        "message": "The request was malformed or contained invalid parameters"
    }
}

Relevant log output

No response

Relevant configuration

No response

Version

v1.1.0

On which operating system are you observing this issue?

macOS

In which environment are you deploying?

Docker

Additional Context

No response

@iBakuman iBakuman added the bug Something is not working. label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant