module-ballerina-oauth2 icon indicating copy to clipboard operation
module-ballerina-oauth2 copied to clipboard

Allow the exp claim in IntrospectionResponse to be passed as a string #3202

Open ovindu-a opened this issue 4 months ago • 7 comments

Purpose

This allows the exp value in IntrospectionResponse to have string value as mentioned in issue #3202. I have changed the code in the prepareIntrospectionResponse function to check if the exp value passed in as json is a string and if so it tries to cast it to and int and assign it.

Checklist

  • [x] Linked to an issue
  • [ ] Updated the changelog
  • [ ] Added tests
  • [ ] Updated the spec
  • [ ] Checked native-image compatibility

ovindu-a avatar Oct 02 '24 18:10 ovindu-a