You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which suggest that setting the environment variable OAUTH2_ACCESS_TOKEN_STRATEGY=jwt will make Hydra issue JWTs instead of Opaque tokens.
However, it does not work. A quick grep in the source code of Hydra shows that OAUTH2_ACCESS_TOKEN_STRATEGY is only present in a test file and does not appear in the actual source code of Hydra.
Is that expected? Was it intentionally removed?
FYI setting strategies.access_token: jwt in the Hydra configuration file works as expected and JWTs are issued.
Reproducing the bug
Run the commands below (very similar to the this guide)
Note that the token returned by hydra token client is an opaque token and not a JWT.
Preflight checklist
Describe the bug
I want Ory Hydra to issue JWTs instead of Opaque tokens.
I saw this issue & associated PR:
Which suggest that setting the environment variable
OAUTH2_ACCESS_TOKEN_STRATEGY=jwt
will make Hydra issue JWTs instead of Opaque tokens.However, it does not work. A quick
grep
in the source code of Hydra shows thatOAUTH2_ACCESS_TOKEN_STRATEGY
is only present in a test file and does not appear in the actual source code of Hydra.Is that expected? Was it intentionally removed?
FYI setting
strategies.access_token: jwt
in the Hydra configuration file works as expected and JWTs are issued.Reproducing the bug
hydra token client
is an opaque token and not a JWT.Relevant log output
Relevant configuration
None
Version
v1.11.2
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker
Additional Context
No response
The text was updated successfully, but these errors were encountered: