logto-io / js

🤓 Logto JS SDKs.
https://docs.logto.io/quick-starts/
MIT License
61 stars 40 forks source link

refactor(js, client): refresh token should be optional in RefreshToke… #558

Closed charIeszhao closed 1 year ago

charIeszhao commented 1 year ago

…nTokenResponse type

Summary

According to RFC6749, the auth server MAY issue a refresh token, not always.

Testing

Checklist

OR

- [ ] This PR is not applicable for the checklist

linear[bot] commented 1 year ago
LOG-6857 Update refresh token response type in JS SDKs

According to [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-6), the server MAY issue a refresh token, not always.