You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request updates the `UserInfo` interface in
`packages/hub/src/lib/oauth-handle-redirect.ts` to improve how security
restrictions are represented. It introduces a new `securityRestrictions`
field and marks two existing fields as deprecated.
### Updates to the `UserInfo` interface:
* Added a new `securityRestrictions` field to represent various security
restrictions (`"mfa"`, `"sso"`, `"ip"`, `"token-policy"`) in a unified
way.
* Deprecated the `pendingSSO` field, recommending the use of
`securityRestrictions` with `"sso"` instead.
* Deprecated the `missingMFA` field, recommending the use of
`securityRestrictions` with `"mfa"` instead.
0 commit comments