Repository navigation
@redocly/platform-integration@2.81.0
·
1 commit
to main
since this release
Minor Changes
- Added the
getAuthStatemethod toRedoclyOAuthClientto report why a stored session can't be used, such as an expired session or an unreachable platform.
The client also accepts a custom credentials store and a function that opens the browser during device login; the login stops when that function resolves tofalse. - Added
RemoteScorecardError, whichfetchRemoteScorecardAndPluginsthrows with areasonfor the failure, such as missing access or an unreachable platform. - Replaced
RedoclyOAuthDeviceFlow.verifyTokenwithgetTokenStatus, which returns'valid','expired', or'unreachable'instead of a boolean.
If you callverifyToken, callgetTokenStatusand check for'valid'instead oftrue.
Patch Changes
- Fixed commands that reported you as logged out when another Redocly CLI or editor process refreshed the same login session at the same time.
A refreshed session is now also used when the credentials file can't be updated. - Updated @redocly/openapi-core to v2.81.0.