From 52f2c969ccfa98e380d2c7ef189c928ee7ff3c2b Mon Sep 17 00:00:00 2001 From: M1000fr Date: Wed, 11 Dec 2024 18:51:23 +0100 Subject: [PATCH] feat: integrate openid well-known --- src/app/components/Auth.tsx | 2 +- src/authOptions.ts | 17 ++++++++--------- src/types/next-auth.d.ts | 7 ++++++- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/app/components/Auth.tsx b/src/app/components/Auth.tsx index c43e4a2..59ba5a9 100644 --- a/src/app/components/Auth.tsx +++ b/src/app/components/Auth.tsx @@ -33,7 +33,7 @@ const Auth = () => { ) : (
-

Welcome, {session.user?.name || "User"}!

+

Welcome, {session.user.name || "User"}!