woofwoof
CCConvex Community
•Created by ballingt on 12/21/2023 in #announcements
Announcing Convex 1.7
NICE WORK CONVEX TEAM! Our team has been anxiously awaiting these two features and can't wait to get them integrated ASAP. Y'all are the literal best! Keep up the great work.
9 replies
CCConvex Community
•Created by woofwoof on 9/30/2023 in #support-community
"Log line is too long" on seemingly simple query on small table.
sshader! thank you! removing any console.logs did solve the problem. I will say though that the quoted "log lines" seems higher than what this query would have generated... but I am not super confident. Moving forward I will keep my console logs to a minimum!
4 replies
CCConvex Community
•Created by woofwoof on 9/10/2023 in #general
prefix search
... any chance y'all have a closed beta for that feature?
5 replies
CCConvex Community
•Created by woofwoof on 9/10/2023 in #general
prefix search
Algolia is 🔥. Our team uses them for most of our applications... but It's a very versatile product. Just adding simple prefix capabilities to convex searchIndex would 10x its utility. In our case we are building a tagging component, and this would allow us to skip the step where we fetch all tags and then filter based on a search query client side. We're super excited to move all our apps state to convex and this seems to be the last step!
5 replies
CCConvex Community
•Created by woofwoof on 8/28/2023 in #support-community
Trouble with getUserIdentity(), Auth0 and Next.js
Tom! Nice work! I went ahead and cloned your repo and sure enough it works beautifully! Then I threw my Auth0 ClientID and Domain in there and got the same issue I was having.... turns out it was 100% an Auth0 thing (my bad for sending you on a wild goose chase!).
With Auth0's documentation now pushing Next.js devs towards the
@auth0/nextjs-auth0
package, you might include the following steps in your documentation the help big dummies like me:
1. Make sure to use @auth0/auth0-react
(not @auth0/nextjs-auth0
)
2. Create a new Single Page Application
in Auth0 (@auth0/nextjs-auth0
uses the Regular Web App)
3. Under the Settings Tab in your application, scroll to the Refresh Token Rotation section and enable Rotation
(off by default) <---- thats what was causing my problem.
Thanks for all the help and sorry for pointing you in the wrong direction!22 replies
CCConvex Community
•Created by woofwoof on 8/28/2023 in #support-community
Trouble with getUserIdentity(), Auth0 and Next.js
Sliently. In the @auth0/auth0-react example, when a user signs in, Auth0 passes a code to the application through the url:
ex:
http://localhost:3003/?code=DdkfgFhr3jlQpmeRX3Z0JiXvvSDadnjRbS-n26RrGi7o2&state=YzdWZkExeml6bDE3aUdhQUJhSGRfU0xVR3JqZHYtTVZoZ0tEbHVyeDM1OA%3D%3D
When you use @auth0/auth0-react with Next.js 13.4 app router, this code shows up in the url but the Auth0Provider dose not appear to consume it. I am 60% sure this is being caused by the official depreciation of the legacy route handlers in the last version of Next.js (I THINK).
This seems to be the reason the newer @auth0/nextjs-auth0
uses the handleAuth
hook as an API point (outside of the router) to retrieve the response from the callback.
If you could help me better understand the what the fetchAccessToken
function is supposed to return in the ConvexProviderWithAuth
's useAuth function, I think I can get it working with the new @auth0/nextjs-auth0
... assuming I wouldn't be getting in your way or am totally wrong about all this haha.22 replies
CCConvex Community
•Created by woofwoof on 8/28/2023 in #support-community
Trouble with getUserIdentity(), Auth0 and Next.js
lol that one worked!
22 replies
CCConvex Community
•Created by woofwoof on 8/28/2023 in #support-community
Trouble with getUserIdentity(), Auth0 and Next.js
22 replies
CCConvex Community
•Created by woofwoof on 8/28/2023 in #support-community
Trouble with getUserIdentity(), Auth0 and Next.js
Tom you are the man! Trying it now... just a heads up that Github link is still giving me trouble.
22 replies
CCConvex Community
•Created by woofwoof on 8/28/2023 in #support-community
Trouble with getUserIdentity(), Auth0 and Next.js
Tom, thanks for taking a look. The hardcoded value is the sessionToken (purely for testing purposes). Unfortunately, that github link appears to be broken. I'm 90% sure I have tried all the tutorials from the convex docs but was doing so within an active project. Give me an hour or two and I'll try both of these from scratch. Again, really appreciate the help!
22 replies
CCConvex Community
•Created by woofwoof on 8/28/2023 in #support-community
Trouble with getUserIdentity(), Auth0 and Next.js
Is there a working build of Next.js 13 (app router) working with Convex and Auth0 somewhere that I have overlooked?
22 replies