Skip to content
Compare
Choose a tag to compare
@clerk-cookie clerk-cookie released this 18 Feb 15:21
· 24 commits to main since this release
93acb6f

Minor Changes

  • Introduce getAuth() helper to retrieve authentication state from the event object. (#5158) by @wobsoriano

    Example:

    import { getAuth } from '@clerk/nuxt/server';
    
    export default eventHandler(event => {
      const { userId } = getAuth(event);
    
      if (!userId) {
        // User is not authenticated
      }
    });

Patch Changes