feat(#9): Nuxt 4 migration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { OAuthTokenResponse } from '~/types/oauth'
|
||||
import type { OAuthTokenResponse } from '~~/types/oauth'
|
||||
|
||||
export default eventHandler(async (event) => {
|
||||
const config = useRuntimeConfig()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { jwtDecode } from 'jwt-decode'
|
||||
import type { KeycloakTokenPayload, Organization } from '~/types/keycloak'
|
||||
import type { KeycloakTokenPayload, Organization } from '~~/types/keycloak'
|
||||
|
||||
export default defineOAuthKeycloakEventHandler({
|
||||
async onSuccess(event, { user, tokens }) {
|
||||
|
||||
Reference in New Issue
Block a user