Use opaque tokens

Hello folks!

Does Keycloak works with opaque tokens? I would like to return an opaque token (access token/refresh token) instead of a JWT token.

Is possible to set any kind of configuration on Keycloak or should I encrypt those values before resolve it to client?

Btw: I’m working with Resource Owner Password Credentials flow fow now.

It,s not implemented and there is ongoing discussion