#What am I doing wrong?

13 messages · Page 1 of 1 (latest)

dry mountain
#

as I was following the Threads full stack video, I suddenly had this problem that this would supposedly route me to Sign-in

torpid niche
#

Based on the error alone, you are using UserButton outside of a ClerkProvider. To give any more advice we would need to see the relevant code.

dry mountain
#

signOutCallback

torpid niche
#

Please share the actual error

dry mountain
# torpid niche Please share the actual error

React does not recognize the signOutCallback prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase signoutcallback instead. If you accidentally passed it from a parent component, remove it from the DOM element.

torpid niche
#

Could you please share the signout button file?

dry mountain
dry mountain
torpid niche
#

So you can see in the docs, signOutCallback is not a valid prop

#

perhaps you meant to use signOutOptions