Is which fields string interpolation supported ? #489
|
Hello For example, can one use dynamic values in |
Answered by
guicassolato
Sep 20, 2024
Replies: 2 comments
|
I'm afraid Places in a AuthConfig where you can use string interpolation are:
Apologies in advance if I missed some. |
0 replies
Answer selected by
eshepelyuk
|
Thank you |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@eshepelyuk
I'm afraid
spec.authentication.jwt.issuerUrldoes 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:
urlfields of:spec.metadata..httpspec.authorization..opa.externalPolicyspec.callback..httpselectorfields of:spec.patternsspec.whenandspec...whenspec...cache.keyspec.authentication..plainspec.authentication...defaultsspec.authentication...overridesspec.metadata..http.bodyspec.metadata..http.bodyPara…