mirror of
https://github.com/kevin-DL/team-management.git
synced 2026-01-23 23:51:25 +00:00
Added auth0 authentication
This commit is contained in:
20
pages/login.vue
Normal file
20
pages/login.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div>
|
||||
<button @click="login"> Login/Register </button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "login",
|
||||
methods: {
|
||||
login: function () {
|
||||
this.$auth.loginWith('auth0')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user