Skip to content

Commit

Permalink
atinux
Browse files Browse the repository at this point in the history
* fix: removed problematic user logging

* chore: added Zitadel auth provider in the documentation
  • Loading branch information
Velka-DEV authored Dec 9, 2024
1 parent 90d0d18 commit 25ece86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ It can also be set using environment variables:
- X (Twitter)
- XSUAA
- Yandex
- Zitadel

You can add your favorite provider by creating a new file in [src/runtime/server/lib/oauth/](./src/runtime/server/lib/oauth/).

Expand Down
2 changes: 0 additions & 2 deletions src/runtime/server/lib/oauth/zitadel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ export function defineOAuthZitadelEventHandler({ config, onSuccess, onError }: O
},
})

console.log('Zitadel user:', user)

if (!user) {
const error = createError({
statusCode: 500,
Expand Down

0 comments on commit 25ece86

Please sign in to comment.