File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
packages/ally-solvro-auth Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ import { stubsRoot } from "./stubs/main.js";
1111export async function configure ( command : Configure ) {
1212 const codemods = await command . createCodemods ( ) ;
1313
14+ codemods . overwriteExisting = true ;
15+
1416 command . logger . info ( "Konfiguracja @solvro/auth" ) ;
1517 command . logger . info (
16- "Żeby dostać CLIENT_ID i CLIENT_SECRET, zapytaj na #main i zpinguj @Bartosz Gotowski" ,
18+ "Żeby dostać CLIENT_ID i CLIENT_SECRET, zapytaj na #main i zpinguj @Bartosz Gotowski 😍 " ,
1719 ) ;
1820
1921 const clientId = await command . prompt . ask ( "Jaki masz CLIENT_ID? " , {
@@ -40,7 +42,7 @@ export async function configure(command: Configure) {
4042 variables : {
4143 APP_DOMAIN : `Env.schema.string()` ,
4244 SOLVRO_AUTH_CLIENT_ID : "Env.schema.string()" ,
43- SOLVRO_AUTH_CLIENT_SECRET : "Env.schema.string.optional ()" ,
45+ SOLVRO_AUTH_CLIENT_SECRET : "Env.schema.string()" ,
4446 } ,
4547 leadingComment : "Variables for @solvro/auth" ,
4648 } ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const allyConfig = defineConfig({
1111 solvroAuth: SolvroAuthDriverService({
1212 callbackUrl: {{{ '`${env.get("APP_DOMAIN")}/auth/callback`' }}},
1313 clientId: env.get("SOLVRO_AUTH_CLIENT_ID"),
14- client : env.get("SOLVRO_AUTH_CLIENT_SECRET"),
14+ clientSecret : env.get("SOLVRO_AUTH_CLIENT_SECRET"),
1515 }),
1616});
1717
You can’t perform that action at this time.
0 commit comments