module-ballerina-oauth2
module-ballerina-oauth2 copied to clipboard
Allow the exp claim in IntrospectionResponse to be passed as a string #3202
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