Skip to content

Commit

Permalink
fix(imports): ♻️ Added missing useRuntimeConfig import for token refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
itpropro committed Jan 8, 2024
1 parent 46499d9 commit 90c2524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/server/utils/oidc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import * as providerPresets from '../../providers'
import type { H3Event, H3Error } from 'h3'
import type { OidcProviderConfig, ProviderKeys, RefreshTokenRequest, TokenRequest, TokenRespose } from '../../types/oidc'
import type { UserSession } from '../../types/session'
import { useRuntimeConfig } from '#imports'

const logger = useLogger('oidc-auth')

Expand Down

0 comments on commit 90c2524

Please sign in to comment.