Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [clerk]

For questions regarding "Clerk" software for user management, including, for example, user authentication.

1 vote
0 answers
11 views

How to integrate Clerk Authentication with ASP.NET Core 6.0 Web API (SQL Server as database)

Whenever a user is registered / updated in my frontend app (which uses REACT) by clerk authentication, I want to store this details in my database too. For example if a user is created with certain ...
Kousik Raj's user avatar
0 votes
0 answers
12 views

How to Fix Redirection Issues in Clerk Authentication?

i have done a project with clerk before without any problem using this version "^5.2.3", there was not any problem before but when now i'm trying to implement the new version 5.2.6 with my ...
Moemen's user avatar
  • 3
0 votes
0 answers
9 views

Clerk with Next.js local development error

I was integrating Clerk with Next.js an everything was going smoothly until yesterday when I completed my integration and OAuth apps with Google and GitHub and pushed it to production on the Clerk ...
Johanan S A's user avatar
0 votes
0 answers
31 views

Error: `headers` was called outside a request scope | Next.js

I'm using Clerk version 5.1.4 and Next.js 14.2.3, and got the following error when calling the auth() function in a server component: Clerk: auth() and currentUser() are only supported in App Router (/...
Toản Lê's user avatar
-6 votes
0 answers
15 views

How to put a Paywall before registration? [closed]

I am trying to have stripe payment setup before my customers get access to all the protected pages in my Next JS app and even account sign up pages. I don't want customers to first sign up for an ...
Manpreet Singh's user avatar
0 votes
0 answers
18 views

How to call multiple middlewares from Nextjs middleware?

In my Next.js application, I have two middlewares : query-params.ts : middelware for checking the query parameters in the url. auth.ts: ClerkMiddleware Both of these parameters are in middlewares ...
Ala Eddine Menai's user avatar
0 votes
0 answers
15 views

Clerk expo redirecting me to browser, instead of showing me list of google accounts in a popup

When it comes to authentication in react native, there's no better way than using clerk in expo, as always, its my favorite. but coming to social login with google, in clerk in expo, it was ...
Raghunadh's user avatar
0 votes
1 answer
42 views

Does supabase-js createClient create a singleton?

Is it a (memory) issue to call the supabase createClient function every time that you need the client? I'm integrating Clerk with Supabase in my React Native app, and according to the docs you should ...
sjbuysse's user avatar
  • 3,984
0 votes
0 answers
70 views

Error: Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware() (or the deprecated authMiddleware())

I am following a YouTube Tutorial to build a next.js project with Clerk. However, I keep getting these error messages on the terminal everytime the site is loaded:- Error: Clerk: auth() was called ...
pompom's user avatar
  • 1
0 votes
1 answer
34 views

ClerkProvider Error in Nextjs. Attempted import error: 'SWRConfig' is not exported from 'swr'

I just started a new nextjs project installed clerk, set up the env.local and the middleware.ts files. Then I went to wrap the html div with ClerkProvider and got this error when i tried to run it on ...
ra8200's user avatar
  • 1
0 votes
1 answer
72 views

How to use an access token to create a clerk session?

I have a nextJs app that uses clerk for authentication, i am currently using microsoft provider. I also want to make the app available in a teams app iframe, so i am passing the access token from the ...
Same's user avatar
  • 77
0 votes
0 answers
14 views

Branding option not found in Clerk

I am building an application in Next.js with typescript where I am managing the user authentication like sign in and sign up using google account or any other recognized social media platforms with ...
Abir Banerjee's user avatar
1 vote
1 answer
34 views

Is there a way to redirect to different links depending on the user's status?

import React from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import Link from "next/link"; import { ...
Jean Mako's user avatar
-1 votes
0 answers
25 views

How to use subdomains and routing after Clerk authMiddleware() deprication?

I need to code this: TypeScript export default authMiddleware({ publicRoutes: ['/site', '/api/uploadthing'], async beforeAuth(auth, req) {}, async afterAuth(auth, req) { //rewrite for ...
user25541224's user avatar
0 votes
1 answer
52 views

Module '"@clerk/nextjs"' has no exported member 'auth'

I am implementing Clerk Js authentication on my next app. import Link from 'next/link'; import React from 'react'; import { UserButton, auth, useAuth } from '@clerk/nextjs'; // import { auth } from '@...
Koza's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
14