Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@nicknisi
Copy link
Member

  • correct import
  • correct hook to be useAccessToken (not useAuth)

This pull request updates the usage examples in the README.md to reflect changes in the recommended import paths and hooks for authentication in client components. The most important changes are grouped below:

Authentication Hook Updates:

  • Changed the import path for the useAuth hook to @workos-inc/authkit-nextjs/components in client component examples to match the latest package structure.
  • Updated the synchronous access token example to use the new useAccessToken hook from @workos-inc/authkit-nextjs/components, replacing the previous usage of useAuth.

- correct import
- correct hook to be `useAccessToken` (not `useAuth`)
@nicknisi nicknisi requested a review from a team as a code owner September 25, 2025 15:20
@nicknisi nicknisi requested a review from faroceann September 25, 2025 15:20
@nicknisi nicknisi merged commit 2416888 into main Sep 25, 2025
4 checks passed
@nicknisi nicknisi deleted the nicknisi/readme-eager-auth-fixes branch September 25, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.