Questions tagged [vue-authenticate]
13 questions
5
votes
0 answers
vue-authenticate not working on mobile browser: callback opens new tab breaking flow
I'm using vue-authenticate for social account authentication. It works perfectly on desktop browsers, but not android mobile (chrome/firefox).
When authenticating, the popup window opens and works correctly, but then the redirectUri (with the access…

Bendy Plubs
- 81
- 3
2
votes
1 answer
websanova/vue-auth not set bearer token vue 3
I used websanova/vue-auth for authentication in my vue-3 app.
I follow the documentation the login was successful but when I try to get the user it did not pass the token or bearer token.
vue-auth configuration.
auth.js
import {createAuth} …

Kenneth
- 2,813
- 3
- 22
- 46
1
vote
0 answers
when i try to push after login action i am getting unexpected error
i am using vuejs with vuex
after login action i am trying to push to dashboard page but some how its throw this error
Uncaught (in promise) Error: Redirected when going from "/signin?redirect=%2F" to "/" via a navigation guard.
following is my…

ProBot
- 133
- 2
- 12
1
vote
0 answers
How to redirect in vue-authenticate npm after successfully login?
I wanted to redirect my application to its original page, after successfully login from vue application. Below is code snippet:
Vue.use(VueAuthenticate, {
baseUrl: 'http://localhost:3000',
providers: {
linkedin: {
clientId: 'abc',
…

Margi212
- 143
- 1
- 10
1
vote
0 answers
Can you use vue-authenticate oauth without a callback?
When using vue-google-oauth2 you can use getAuthCode() to receive the code back to the frontend framework, which can then be passed to the backend/API for exchanging tokens/etc.
this.$gAuth.getAuthCode()
.then(authCode => {
//on…

vinniyo
- 145
- 14
1
vote
0 answers
vue-authenticate "Error: Auth popup window closed"
I'm trying to authenticate using oauth2 provider of vue-authenticate with custom axios response interceptor as follow:
bindRequestInterceptor() {
this.$http.interceptors.request.use((config) => {
console.log('Axios intercetping…

4givN
- 2,936
- 2
- 22
- 51
1
vote
0 answers
How to set client_secret in vue-authenticate for oauth2 login
for vue-authenticate working with oauth2,
Anyone know how to configure client_secret when grant_type=password?

PWan
- 93
- 1
- 9
1
vote
1 answer
social login, vue-authenticate with passport(nodejs)
I'm trying to implement facebook login with vue-authenticate and passport.
I succeeded in logging into my Facebook account. And i got the 'Callback code' successfully.
This is my callback url …

ShutUpILoveYou
- 436
- 2
- 5
- 18
0
votes
0 answers
Vue-Authenticate for Github Login
I have used the Vue-Authenticate plugin for the social login and this is my configuration for the Github Login
providers: {
github: {
clientId: 'my Id',
redirectUri: 'https://' + process.env.PROJECT_DOMAIN,
responseType:…

Mohit Chandani
- 101
- 1
- 12
0
votes
1 answer
How to use laravel sanctum without typical laravel /login
I have been created PWA with NuxtJS,
then I'm going to use sanctum package, but I don't want to request to the typical Laravel /login route, because I have a customized api /login route which authenticates users with OTP, not by password!
So I'm…

Milad Mohammadi
- 176
- 1
- 9
0
votes
1 answer
Default axios access token not working after refresh in vue js laravel
We declared default Authorization header for axion request in axios.js. it works first time but when i refresh page it gives 500 internal server error.
Here is how i declared it in axios.js
// axios
import axios from…
user13134426
0
votes
1 answer
vue-authenticate: Where is the $auth variable defined?
I am trying to implement vue-authenticate, but I'm having an issue with the following example code taken from their documentation:
new Vue({
methods: {
login: function () {
this.$auth.login({ email, password }).then(function () {
…

DeveloperJames
- 185
- 3
- 10
0
votes
1 answer
vue-authenticate and router redirect
I use vue-authenticate (https://github.com/dgrubelic/vue-authenticate) to login with ID/Password and Oauth 1 & 2.
Where I put the router redirect to redirect user on dashboard page?
this.$router.push({name: 'dashboard'})
My code store.js with…

Maxence Rose
- 1
- 2