guabu

Results 16 comments of guabu

Hey @johncarmack1984 👋 Thanks for opening a separate thread! You should be able to use the `getSession()` method to determine if a user is authenticated and either redirect them or...

If you'd like to stick to the same wrapper, you can combine the `getSession` method into a HOC: ```tsx import { ComponentType } from "react" import { redirect } from...

> Well... thanks were a bit premature on this one, the wrapper doesn't work. Still can't upgrade. ![Screenshot 2024-11-11 at 11 04 39 AM](https://private-user-images.githubusercontent.com/20649979/385034286-a77b3e84-a6ba-4879-919a-c600b62e2939.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzEzNTQyMzEsIm5iZiI6MTczMTM1MzkzMSwicGF0aCI6Ii8yMDY0OTk3OS8zODUwMzQyODYtYTc3YjNlODQtYTZiYS00ODc5LTkxOWEtYzYwMGI2MmUyOTM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTExVDE5Mzg1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY0MzQ0Y2U4YWI4MGUzYjQzNDdjOWQ0NTBkYmFhZWJlYzRjOTA2ZTI4MDBhODllOWZhYjA1NGE3ZGIwYmU0N2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KKmFwVAOlpIxEy6AGnPDpX9rEmU9Nub_SmVsHBIM0gw) Hey @johncarmack1984 👋 That looks to...

> Looks like the latest recommended implementation would expose confidential information to the client, which was thankfully caught by a different dependency. The example shared above is a server component....

@johncarmack1984 what exactly is your follow-up question here? Let's please keep the tone respectful and avoid making such assumptions/statements. I shared an example of how to achieve something similar to...