feature/auth #3

Merged
M1000fr merged 17 commits from feature/auth into development 2024-12-24 08:45:32 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 76d05af0bb - Show all commits

View File

@ -2,6 +2,8 @@ import axios from "axios";
import moment, { Moment } from "moment";
import { getSession } from "next-auth/react";
moment.locale("fr");
let cachedAccessToken: string | null = null;
let tokenExpirationAt: Moment | null = null;

View File

@ -3,6 +3,8 @@ import moment from "moment";
import { AuthOptions, Session } from "next-auth";
import { JWT } from "next-auth/jwt";
moment.locale("fr");
export const authOptions: AuthOptions = {
providers: [
{