Skip to content

Commit

Permalink
Debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Aug 25, 2023
1 parent 9d75dec commit ce140ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- main

jobs:
test:
uses: ./.github/workflows/test.yaml
# test:
# uses: ./.github/workflows/test.yaml

build-and-push:
runs-on: ubuntu-latest
needs: test
# needs: test

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions src/server/util/oidc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ const setupAuthentication = async () => {
) => {
const user = await User.findOne({ username })

console.log({ ...user, iamGroups })

if (!user) return done(new Error('User not found'))

return done(null, { ...user, iamGroups })
Expand Down

0 comments on commit ce140ec

Please sign in to comment.