Is which fields string interpolation supported ? #489
-
Hello For example, can one use dynamic values in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm afraid Places in a AuthConfig where you can use string interpolation are:
Apologies in advance if I missed some. |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
@eshepelyuk
I'm afraid
spec.authentication.jwt.issuerUrl
does not support string interpolation. This is because Authorino will fetch the JSON Web Key Sets (JWKS) outside of an Auth Pipeline, where it does not count with the context required to resolve variables otherwise interpolated into the issuer's base URL.Places in a AuthConfig where you can use string interpolation are:
url
fields of:spec.metadata..http
spec.authorization..opa.externalPolicy
spec.callback..http
selector
fields of:spec.patterns
spec.when
andspec...when
spec...cache.key
spec.authentication..plain
spec.authentication...defaults
spec.authentication...overrides
spec.metadata..http.body
spec.metadata..http.bodyPara…