major: Migration from better-auth to keycloak
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
export default defineNuxtConfig({
|
||||
sourcemap: true,
|
||||
modules: [
|
||||
'@nuxt/ui-pro',
|
||||
'@nuxt/eslint',
|
||||
'@pinia/nuxt',
|
||||
'@nuxtjs/i18n'
|
||||
],
|
||||
modules: ['@nuxt/ui-pro', '@nuxt/eslint', '@pinia/nuxt', '@nuxtjs/i18n', 'nuxt-auth-utils'],
|
||||
css: ['~/assets/css/main.css'],
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
clientProxyBasePath: 'NOT_SET',
|
||||
serverApiBaseUrl: 'NOT_SET',
|
||||
serverApiBasePath: 'NOT_SET',
|
||||
auth: {
|
||||
redirectUserTo: '/',
|
||||
redirectGuestTo: '/login'
|
||||
serverApiBasePath: 'NOT_SET'
|
||||
},
|
||||
oauth: {
|
||||
keycloak: {
|
||||
clientId: 'legalconsenthub',
|
||||
clientSecret: 'mROUAVlg3c0hepNt182FJgg6dEYsomc7',
|
||||
realm: 'legalconsenthub',
|
||||
serverUrl: 'http://localhost:7080',
|
||||
redirectURL: 'http://localhost:3001/auth/keycloak',
|
||||
scope: ['openid', 'organization']
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user