-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: admin connection & google login #48
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
"login": { | ||
"github": "GitHub", | ||
"google": "Google", | ||
"apple": "Apple", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove apple
"login": { | ||
"github": "Github", | ||
"google": "Google", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete space
public/assets/apple.png
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supprimer ce fichier
package.json
Outdated
@@ -16,20 +16,28 @@ | |||
"db:studio": "cross-env SKIP_ENV_VALIDATION=true drizzle-kit studio --host 127.0.0.1 --port 3001" | |||
}, | |||
"dependencies": { | |||
"@auth/core": "^0.18.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Désinstalle @auth/core (pnpm remove @auth/core) et essaye voir si l'authentification fonctionne sans
src/app/[lang]/admin/login/page.tsx
Outdated
<main className="grid h-screen place-items-center"> | ||
<Card className="border-gray-800 bg-black"> | ||
<CardHeader> | ||
<CardTitle className=" text-white">{dictionnary.admin.login.connection}</CardTitle> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supprimer les espaces en trop au début de la balise className
src/app/[lang]/admin/login/page.tsx
Outdated
return ( | ||
<body> | ||
<body className="bg-black"> | ||
<header></header> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supprimer la balise header
Added google AUTH :
-AUTH_GOOGLE_ID
-AUTH_GOOGLE_SECRET