forked from administration/panel
feat: skip next-auth sign in page
parent
1397eb8f5a
commit
2c3ad1082e
|
@ -4,3 +4,4 @@ import NextAuth from "next-auth";
|
||||||
const handler = NextAuth(authOptions);
|
const handler = NextAuth(authOptions);
|
||||||
|
|
||||||
export { handler as GET, handler as POST };
|
export { handler as GET, handler as POST };
|
||||||
|
// admin.revolt.chat/panel/this/should/redirect/any/path
|
||||||
|
|
|
@ -26,7 +26,7 @@ export function LoginButton() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Button variant="outline" onClick={() => signIn()}>
|
<Button variant="outline" onClick={() => signIn("authentik")}>
|
||||||
login with revolt sso
|
login with revolt sso
|
||||||
</Button>
|
</Button>
|
||||||
<img
|
<img
|
||||||
|
|
Loading…
Reference in New Issue