ory / kratos

The most scalable and customizable identity server on the market. Replace your Homegrown, Auth0, Okta, Firebase with better UX and DX. Has all the tablestakes: Passkeys, Social Sign In, Multi-Factor Auth, SMS, SAML, TOTP, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=kratos
Apache License 2.0
11.33k stars 963 forks source link

The env ` SESSION_WHOAMI_TOKENIZER_TEMPLATE_TEST_JWKS_URL` doesn't work. #3865

Open iBakuman opened 7 months ago

iBakuman commented 7 months ago

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

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

nguyenhy commented 3 weeks ago

should it be SESSION_WHOAMI_TOKENIZER_TEMPLATES_TEST_JWKS_URL ? with an S after _TEMPLATE as in the schema