Open DokLaw opened 9 months ago
localhost:3000/dashboard : 404 This page could not be found.
based on the latest documentation of Kinde
your api/auth/[kindeAuth]/route.ts
should look like this
import {handleAuth} from "@kinde-oss/kinde-auth-nextjs/server";
export const GET = handleAuth();
Check your tailwind config and css files, the "primary" color will be the one changing the Button component to blue.
ui/button.tsx
....
variant: {
default: "bg-primary text-primary-foreground hover:bg-primary/90",
Thank you so much for your help. I was able to resolve the authentication issue, but not the color of the button which remains the same, blue. Again thank you. John.
On Tue, Dec 5, 2023 at 2:56 AM Bobby Aleem @.***> wrote:
based on the latest documentation of Kinde your api/auth/[kindeAuth]/route.ts should look like this
import {handleAuth} from @.***/kinde-auth-nextjs/server";
export const GET = handleAuth();
Check your tailwind config and css files, the "primary" color will be the one changing the Button component to blue.
ui/button.tsx .... variant: { default: "bg-primary text-primary-foreground hover:bg-primary/90",
— Reply to this email directly, view it on GitHub https://github.com/joschan21/quill/issues/47#issuecomment-1840512644, or unsubscribe https://github.com/notifications/unsubscribe-auth/BENH2WBQ446IGMUYONUIIFTYH34XVAVCNFSM6AAAAABAGXY3BGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGUYTENRUGQ . You are receiving this because you authored the thread.Message ID: @.***>
--
Dr. John Adu, LLM, Ph.D.
CEO & Founder, Negus & Co. 1142 Florida Street, # 5, San Francisco, CA
Thank you so much for your help. I was able to resolve the authentication issue, but not the color of the button which remains the same, blue. Again thank you. John. … On Tue, Dec 5, 2023 at 2:56 AM Bobby Aleem @.> wrote: based on the latest documentation of Kinde your api/auth/[kindeAuth]/route.ts should look like this import {handleAuth} from @./kinde-auth-nextjs/server"; export const GET = handleAuth(); ------------------------------ Check your tailwind config and css files, the "primary" color will be the one changing the Button component to blue. ui/button.tsx .... variant: { default: "bg-primary text-primary-foreground hover:bg-primary/90", — Reply to this email directly, view it on GitHub <#47 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BENH2WBQ446IGMUYONUIIFTYH34XVAVCNFSM6AAAAABAGXY3BGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGUYTENRUGQ . You are receiving this because you authored the thread.Message ID: @.> -- Dr. John Adu, LLM, Ph.D. CEO & Founder, Negus & Co. 1142 Florida Street, # 5, San Francisco, CA 94110. Tel: 415-678-7296. Email: @. www.neguco.com
Hey , how did you resolve the authentication issue , i have the same 404 error
Hello guys. I have a few issues: I tried to sign in but got this message: This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500 In the terminal I get: TypeError: Invalid URL code: 'ERR_INVALID_URL input: '/oauth2/auth Your help is appreciated. route.ts: import {handleAuth} from "@kinde-oss/kinde-auth-nextjs/server"; import { NextRequest } from "next/server";
export async function GET(request: NextRequest, {params}: any) { const endpoint = params.kindeAuth; return handleAuth(request, endpoint); }
.env: ID=4901adb23e5043ecbb43b6dd4f6e012f KINDE_CLIENT_SECRET=5CVuqFl9mCg2LUgmVxwuvJnYK3j65mZ2eg3czt57NXQJykK7QC KINDE_ISSUER_URL=https://doklaw2.kinde.com KINDE_SITE_URL=http://localhost:3000 KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:3000 KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/dashboard
2nd ISSUE: the "Get started" buttons are blue, I don't know why. Also the Chat with your documents in seconds. DokLaw allows you to have conversations with your PDF document. Simply upload your file and start asking questions right away.
Get started is not centered. Again any help would be appreciated.
import MaxWidthWrapper from "@/components/MaxWidthWrapper"; import Link from "next/link"; import { ArrowRight } from "lucide-react"; import { buttonVariants } from "@/components/ui/button"; import Image from 'next/image'
export default function Home() { return ( <>
DokLaw is live!
Chat with your documents in seconds.
DokLaw allows you to have conversations with your PDF document. Simply upload your file and start asking questions right away.
Get started {''}) }