feat: with config
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-11-01 21:51:09 +01:00
parent 393be43db1
commit 8711fc2a7b
9 changed files with 115 additions and 82 deletions

View File

@@ -40,6 +40,7 @@ async fn main() -> anyhow::Result<()> {
"--zitadel-client-secret=rWwDi8gjNOyuMFKoOjNSlhjcVZ1B25wDh6HsDL27f0g2Hb0xGbvEf0WXFY2akOlL",
"--session-backend=postgresql",
"--session-postgres-conn=postgres://nefarious-test:somenotverysecurepassword@localhost:5432/nafarious-test",
"--login-return-url=http://localhost:3001/authed"
]);
let auth_service = AuthService::new(&cmd.auth).await?;