Skip to content

Is which fields string interpolation supported ? #489

Closed Answered by guicassolato
eshepelyuk asked this question in Q&A
Discussion options

You must be logged in to vote

@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 and spec...when
  • spec...cache.key
  • spec.authentication..plain
  • spec.authentication...defaults
  • spec.authentication...overrides
  • spec.metadata..http.body
  • spec.metadata..http.bodyPara…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by eshepelyuk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants