How to use `BotID` to protect a page?
Unanswered
AM posted this in #help-forum
AMOP
I have a page with server root etc:
This is the page.tsx which is server inside we have client compoents.
I want to protect this page with BotID, is it enough adding to protected routes ( using next < 15.3.0 ) or there is something else we need to do on the page it self
export default function AirdropPage() {
return (
<div className="w-full flex flex-col gap-5">
{...components}
</div>
);
}This is the page.tsx which is server inside we have client compoents.
I want to protect this page with BotID, is it enough adding to protected routes ( using next < 15.3.0 ) or there is something else we need to do on the page it self
1 Reply
@AM I have a page with server root etc:
export default function AirdropPage() {
return (
<div className="w-full flex flex-col gap-5">
{...components}
</div>
);
}
This is the page.tsx which is server inside we have client compoents.
I want to protect this page with BotID, is it enough adding to protected routes ( using next < 15.3.0 ) or there is something else we need to do on the page it self
Have you followed the tutorial here? https://vercel.com/docs/botid/get-started