File tree Expand file tree Collapse file tree
packages/cli/src/commands/sso/add Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,8 +183,10 @@ export async function setupAuthentik(
183183 }
184184
185185 if ( ! ctx . authentikRootEmail ) {
186+ const defaultRootEmail = `authentik-root@${ SSO_SUBDOMAIN } .${ ctx . ancestorDomain } `
186187 ctx . authentikRootEmail = await context . logger . input ( {
187188 task,
189+ default : defaultRootEmail ,
188190 explainer : "This email will be used for the initial Authentik root user." ,
189191 message : "Email:" ,
190192 validate : ( value : string ) => {
@@ -209,7 +211,7 @@ export async function setupAuthentik(
209211 if ( ! ctx . authentikAdminEmail ) {
210212 ctx . authentikAdminEmail = await context . logger . input ( {
211213 task,
212- explainer : "This email will be used for your Authentik user." ,
214+ explainer : "This email will be used for your Authentik user. This email must be unique and not be the AWS root email address. " ,
213215 message : "Email:" ,
214216 validate : ( value : string ) => {
215217 const { error } = z . string ( ) . email ( ) . safeParse ( value ) ;
You can’t perform that action at this time.
0 commit comments