Initial Nuxt frontend import
Some checks failed
continuous-integration/drone/push Build is failing

- Complete GGZ Ecademy Nuxt.js user portal
- Learning products browser and management
- Member management interface
- User authentication and roles
- Multi-language support (NL/EN)
- Vuex store for state management
- Component-based architecture
This commit is contained in:
Joris Slagter
2025-12-02 17:48:48 +01:00
parent 0f691e83e3
commit 791aebc346
290 changed files with 113801 additions and 0 deletions

35
pages/sso.vue Normal file
View File

@@ -0,0 +1,35 @@
<template>
<div>GGZ</div>
</template>
<script>
export default {
layout: `${process.env.CUSTOMER}Default`,
components: {},
async mounted () {
const responsehash = this.$route.hash.split('&', 3);
const token = responsehash[0].replace('#access_token=', '');
try {
await this.$auth.loginWith('local', {
data: {
email: 'zzz@zzz.nl',
password: 'zzzzzzzzz',
token: token
},
})
this.$router.push('/manager')
} catch (error) {
this.errors = error.response.data.errors
this.$notifier.showMessage({
content: error.response.data.message,
color: 'error',
icon: 'icon-message',
})
this.$router.push('/login')
}
}
}
</script>