Changes from live

This commit is contained in:
Darren Clarke 2023-06-05 14:48:23 +00:00
parent d2522521dd
commit d0f9e8bb65
11 changed files with 22076 additions and 22031 deletions

View file

@ -0,0 +1,5 @@
import { NextApiRequest, NextApiResponse } from 'next';
export default function handler(req: NextApiRequest, res: NextApiResponse) {
res.redirect(307, '/proxy/zammad/api/v1' + req.url.substring('/api/v1'.length));
}

View file

@ -49,7 +49,7 @@ const Login: FC<LoginProps> = ({ session }) => {
sx={buttonStyles}
onClick={() =>
signIn("google", {
callbackUrl: `${origin}/auth/sso`,
callbackUrl: `${origin}/proxy/zammad/auth/sso`,
})
}
>