gocloak icon indicating copy to clipboard operation
gocloak copied to clipboard

ApiKey Token?

Open shibumi opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe.

I am working on a GRPC service for keycloak. This service is supposed to run infinitely. Is it possible to specify the ApiKey Token (instead of a JWT) in gocloak?

The difference is that the ApiKey does not expire.

Describe the solution you'd like

I would like to be able to use an ApiKey token, instead of a JWT.

Describe alternatives you've considered

Setting no expiration for the Api user.

shibumi avatar Aug 24 '21 15:08 shibumi

Hi,

i don't think, that Keycloak supports such tokens.

Nerzal avatar Aug 27 '21 14:08 Nerzal

@Nerzal it does, we are using offline keys for a while now.

shibumi avatar Aug 27 '21 15:08 shibumi

I believe this Offline Access Token is the one being requested for this feature enhancement.

graza-io avatar Oct 28 '21 08:10 graza-io