fix: login url fragment and refresh token
This commit is contained in:
parent
7d16320dea
commit
62a4c3b1ca
8 changed files with 72 additions and 172 deletions
|
|
@ -5,18 +5,18 @@ import th from 'quasar/lang/th'
|
|||
|
||||
import App from './App.vue'
|
||||
|
||||
import HttpService from '@/services/HttpService'
|
||||
import quasarUserOptions from './quasar-user-options'
|
||||
import router from './router'
|
||||
|
||||
import 'quasar/src/css/index.sass'
|
||||
import { login } from './services/KeyCloakService'
|
||||
|
||||
await login()
|
||||
|
||||
const app = createApp(App)
|
||||
const pinia = createPinia()
|
||||
|
||||
app.use(router)
|
||||
app.use((await import('./router')).default)
|
||||
app.use(pinia)
|
||||
|
||||
app.use(Quasar, {
|
||||
...quasarUserOptions,
|
||||
plugins: {
|
||||
|
|
@ -28,9 +28,7 @@ app.use(Quasar, {
|
|||
|
||||
app.component(
|
||||
'full-loader',
|
||||
defineAsyncComponent(() => import('@/components/FullLoader.vue'))
|
||||
defineAsyncComponent(() => import('@/components/FullLoader.vue')),
|
||||
)
|
||||
|
||||
app.mount('#app')
|
||||
|
||||
HttpService.configureAxiosKeycloak()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue