Official Javascript repository for Clerk authentication
MIT License
Published by clerk-cookie 9 months ago
Published by clerk-cookie 9 months ago
Accept skipInvitationScreen
as a prop from OrganizationSwitcher. (#2713) by @panteliselef
skipInvitationScreen
hides the screen for sending invitations after an organization is created.
By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1
Add support for X/Twitter v2 OAuth provider (#2690) by @kostaspt
Use signInUrl from props/ context / repo-level to construct a redirectUrl in email-link flow. (#2727) by @dimkl
Add data-1p-ignore to input fields that do not benefit from password manager suggestions. (#2731) by @panteliselef
Update cookie setting to ensure cookies can be set to be read when an application is embedded in an iframe. (#2688) by @SokratisVidros
Allow retries for all 300xxx error codes for CF Turnstile. (#2738) by @mzhong9723
Prevent Clerk component flickering when mounted in a Next.js app using App Router (#2765) by @nikosdouvlis
Replace semver with custom regex in versionSelector (#2760) by @nikosdouvlis
Escape characters in pattern for inputs of type="email" by @panteliselef
Fix redirect flow for OAuth2 IDP flow with email_link verification. (#2677) by @mzhong9723
Give application logo correct CSS width to prevent incorrect widths (#2735) by @LekoArts
Updated dependencies [244de5ea3
, 9737ef510
, 5b8d85886
, 8b466a9ba
, 8daf8451c
, 7f751c4ef
, be991365e
]:
Published by clerk-cookie 9 months ago
Published by clerk-cookie 9 months ago
6ac9e717a
, 966b31205
, a8901be64
, 7b200af49
, 244de5ea3
, 034c47ccb
, ee57f21ac
, 1affbb22a
, 7f751c4ef
, 4fced88ac
, c2b982749
]:
Published by clerk-cookie 9 months ago
Published by clerk-cookie 9 months ago
Published by clerk-cookie 9 months ago
Make all listing API requests to return consistent { data: Resource[], totalCount: number }
. (#2714) by @dimkl
Support pagination request params { limit, offset }
to:
sessions.getSessionList({ limit, offset })
clients.getClientList({ limit, offset })
Since the users.getUserList()
does not return the total_count
as a temporary solution that
method will perform 2 BAPI requests:
users.getCount()
internally)Add unbanUser
, lockUser
, and unlockUser
methods to the UserAPI class. (#2780) by @panteliselef
Add support for X/Twitter v2 OAuth provider (#2690) by @kostaspt
Add banUser
method to the User operations (accessible under clerkClient.users
). Executes the Ban a user backend API call. (#2766) by @bartlenaerts
Expose resources types (#2660) by @panteliselef
The auth().redirectToSignIn()
helper no longer needs to be explicitly returned when called within the middleware. The following examples are now equivalent: (#2691) by @nikosdouvlis
// Before
export default clerkMiddleware(auth => {
if (protectedRoute && !auth.user) {
return auth().redirectToSignIn()
}
})
// After
export default clerkMiddleware(auth => {
if (protectedRoute && !auth.user) {
auth().redirectToSignIn()
}
})
Calling auth().protect()
from a page will now automatically redirect back to the same page by setting redirect_url
to the request url before the redirect to the sign-in URL takes place.
Fix clerkClient.organizations.getOrganizationMembershipList()
return type to be { data, totalCount }
(#2681) by @dimkl
Preserve url protocol when joining paths. (#2745) by @panteliselef
Updated dependencies [8daf8451c
, be991365e
]:
Published by clerk-cookie 9 months ago
Accept skipInvitationScreen
as a prop from OrganizationSwitcher. (#2740) by @panteliselef
skipInvitationScreen
hides the screen for sending invitations after an organization is created.
By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1
Published by clerk-cookie 9 months ago
cd00175cb
, 229996036
]:
Published by clerk-cookie 9 months ago
4a05f2e90
, cd00175cb
, 229996036
]:
Published by clerk-cookie 9 months ago
Properly fire onLoad event when clerk-js is already loaded. (#2767) by @clerk-cookie
Updated dependencies [cd00175cb
]:
Published by clerk-cookie 9 months ago
cd00175cb
, 229996036
]:
Published by clerk-cookie 9 months ago
4a05f2e90
, cd00175cb
, 229996036
]:
Published by clerk-cookie 9 months ago
cd00175cb
]:
Published by clerk-cookie 9 months ago
Accept skipInvitationScreen
as a prop from OrganizationSwitcher. (#2740) by @panteliselef
skipInvitationScreen
hides the screen for sending invitations after an organization is created.
By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1
Allow retries for all 300xxx error codes for CF Turnstile. (#2755) by @clerk-cookie
Give application logo correct CSS width to prevent incorrect widths (#2741) by @clerk-cookie
Updated dependencies [cd00175cb
]:
Published by clerk-cookie 9 months ago
4a05f2e90
, cd00175cb
, 229996036
]:
Published by clerk-cookie 9 months ago
4a05f2e90
, cd00175cb
, ce7b4d171
, f7c9748af
]:
Published by clerk-cookie 9 months ago
4a05f2e90
, cd00175cb
, ce7b4d171
, f7c9748af
]:
Published by clerk-cookie 9 months ago
Preserve url protocol when joining paths. (#2754) by @clerk-cookie
Updated dependencies [cd00175cb
]:
Published by clerk-cookie 9 months ago