expires_in in token response has the wrong JSON type in some cases
Concerned version
Version: 2.0.11
Platform: (Nginx/Apache/Node.js)
Summary
Depending on how oidcRPMetaDataOptionsAccessTokenExpiration is stored in config (perl string or perl number), the token response may contain an expires_in key in the wrong format:
{"token_type":"Bearer","expires_in":"3600","access_token":"4ee77962ffba5f0dcd47dbfcd4f0226abc97004de07c7762b9e87f9c09073ae6"}
Possible fixes
We need to force the correct types when returning OIDC responses