Skip to content

Conversation

@betonetotbo
Copy link

I need to create a kong_consumer_jwt_auth without rsa_public_key, only using a secret. With the currently implementation isn't possible to do that (this is a blocker bug).

According to the kong documentation https://docs.konghq.com/hub/kong-inc/jwt/#create-a-jwt-credential the rsa_public_key is optional.

This PR fix it, assuming the kong optional attributes:

  • key
  • algorithm
  • secret
  • rsa_public_key

The unit test TestAccJWTAuth was adapted to test the defaults for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants