Skip to content

Commit

Permalink
refactor(logging): ♻️ Improved logging
Browse files Browse the repository at this point in the history
  • Loading branch information
itpropro committed Jan 17, 2024
1 parent 6df17c4 commit 171b63c
Show file tree
Hide file tree
Showing 8 changed files with 1,190 additions and 1,327 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "itpropro/nuxt-oidc-auth",
"homepage": "https://github.com/itpropro/nuxt-oidc-auth#readme",
"license": "MIT",
"packageManager": "pnpm@8.13.1",
"packageManager": "pnpm@8.14.1",
"type": "module",
"exports": {
".": {
Expand All @@ -33,7 +33,7 @@
"test:watch": "vitest watch"
},
"dependencies": {
"defu": "^6.1.3",
"defu": "^6.1.4",
"jose": "^5.2.0",
"ofetch": "^1.3.3",
"ufo": "^1.3.2",
Expand All @@ -42,17 +42,17 @@
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/eslint-config": "^0.2.0",
"@nuxt/kit": "^3.9.0",
"@nuxt/kit": "^3.9.2",
"@nuxt/module-builder": "^0.5.5",
"@nuxt/schema": "^3.9.0",
"@nuxt/schema": "^3.9.2",
"@nuxt/test-utils": "^3.9.0",
"@types/node": "^20.10.6",
"@types/node": "^20.11.5",
"changelogen": "^0.5.5",
"eslint": "^8.56.0",
"nuxt": "^3.9.0",
"scule": "^1.1.1",
"nuxt": "^3.9.3",
"scule": "^1.2.0",
"typescript": "^5.3.3",
"vitest": "^1.1.1",
"vitest": "^1.2.0",
"vue-tsc": "^1.8.27"
}
}
}
10 changes: 8 additions & 2 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ export default defineNuxtConfig({
nonce: true,
responseType: 'code id_token',
scope: ['profile', 'openid', 'offline_access', 'email'],
logoutUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/logout',
optionalClaims: ['preferred_username', 'email'],
logoutUrl: '',
optionalClaims: ['unique_name', 'family_name', 'given_name'],
additionalAuthParameters: {
resource: '',
prompt: 'select_account',
},
validateAccessToken: false,
validateIdToken: true,
},
auth0: {
audience: 'test-api-oidc',
Expand Down
Loading

0 comments on commit 171b63c

Please sign in to comment.