1
0
Fork 0

feat: skip next-auth sign in page

fix-1
Paul Makles 2023-07-30 12:11:33 +01:00
parent 1397eb8f5a
commit 2c3ad1082e
No known key found for this signature in database
GPG Key ID: 5059F398521BB0F6
2 changed files with 2 additions and 1 deletions

View File

@ -4,3 +4,4 @@ import NextAuth from "next-auth";
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };
// admin.revolt.chat/panel/this/should/redirect/any/path

View File

@ -26,7 +26,7 @@ export function LoginButton() {
return (
<>
<Button variant="outline" onClick={() => signIn()}>
<Button variant="outline" onClick={() => signIn("authentik")}>
login with revolt sso
</Button>
<img