Files
nuxt-frontend/pages/sso.vue
root 38592e29f5
Some checks failed
continuous-integration/drone/push Build is failing
feat: add voor_opleiders toggle and update terminology
Production features and text updates:
- Add 'Voor opleiders' toggle in Administration component
- Update 'Kwaliteitsstandaarden' → 'Zorgstandaarden' throughout
- Update 'Toetsing' → 'Meer leren' in translations
- Update 'Register' → 'Accreditatie' in filters
- Store integration for voor_opleiders field

These changes were made directly on production and need to be
preserved in version control.
2025-12-08 10:35:30 +01:00

35 lines
807 B
Vue

<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>