Skip to content

@yielded/auth@0.1.0-beta.49

Pre-release
Pre-release

Choose a tag to compare

@yielded-releases yielded-releases released this 18 Nov 22:44
· 11 commits to main since this release
d3eb4c1

Minor Changes

  • #281 833770f Thanks @danieljvdm! - Enable phone account creation after SMS verification with PhoneOtp.make({ allowSignUp: true }) through the ordinary signIn and completeSignIn methods, keeping explicit registration and number management independently opt-in with lifecycle. A registration lifecycle hook gates this signup and fails closed: a denied or unavailable hook sends no code and rejects completion like a wrong code.

  • #314 0d300c3 Thanks @danieljvdm! - Add an optional Authorization service to OAuthServer.make, so applications can recheck permission and attach claims at every code exchange and refresh without the OpenID profile.

Patch Changes

  • #314 0d300c3 Thanks @danieljvdm! - Accept CIMD documents advertising unknown grant and response types alongside authorization code support. Retain only supported grants when resolving the client.

  • #314 0d300c3 Thanks @danieljvdm! - Issue refresh tokens only when the client's grant policy permits them.

    BEHAVIOR CHANGE: Clients declaring grantTypes without refresh_token receive only an access token. Static and stored clients of OAuthServer.make that omit grantTypes retain refresh support.

  • Updated dependencies [14bfbbc]:

    • @yielded/oauth@0.1.0-beta.49