Added auth0 authentication

This commit is contained in:
2020-08-01 21:45:05 +01:00
parent c2311b8564
commit 0c7000ba09
6 changed files with 87 additions and 67 deletions

20
pages/login.vue Normal file
View 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>