Deploy script and AUTHELIA documentation (Tim did that)
release gate / check (push) Failing after 6m53s

This commit is contained in:
Andrew S Erwin
2026-10-25 01:02:52 -05:00
parent c432ff57e9
commit d7a2abc683
5 changed files with 564 additions and 0 deletions
+4
View File
@@ -86,6 +86,10 @@ export const { handlers, auth, signIn, signOut } = NextAuth({
issuer: process.env.OIDC_ISSUER,
clientId: process.env.OIDC_CLIENT_ID,
clientSecret: process.env.OIDC_CLIENT_SECRET,
// Auth.js defaults to PKCE-only for OIDC providers and omits `state`,
// but Authelia hard-rejects authorization requests without a state
// param ("must be at least 8 characters"). Send both.
checks: ['pkce', 'state'],
authorization: { params: { scope: 'openid profile email' } },
profile(profile: any) {
return { id: profile.sub, name: profile.name ?? profile.preferred_username ?? profile.sub,