...
Note that in both cases the refresh and access token expiration date/times are explicitly returned in the response body. This is because the client will likely want to use this information to request a new access token before the current one expires. The refresh token expiration is probably less useful, but will help clients know that their refresh token is expired before having them call the refresh endpoint and then having to react to an error response. Instead they can just send the user directly to the login screen to re-authenticate.
NOTE: the mod-users-bl login endpoint is actually what stripes calls. Similar changes will need to be made there as well.
Frontend
Use Refresh Tokens in Stripes
...