Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Luís Pitta Grós
    @idrislab
    hi
    how can i set the client_id for facebook
    ?
    Davor Grubelić
    @dgrubelic
    You can set provider in provider settings. Check out options.js file in repo
    Luís Pitta Grós
    @idrislab
    i've tried doing it but im still getting and error about missing app_id (facebook) when the login dialog opens
    Luís Pitta Grós
    @idrislab
    it was a mistake on my side @dgrubelic
    it was working fine
    Mikko
    @mferral
    @dgrubelic how do I configure the options for AD Azure??????
    Maxim
    @maxim25
    Anyone have success implementing this with nuxt?
    kpasko
    @kpasko
    can someone describe a quick overview of why one would use vue-authenticate over auth0/firebase?
    David Urbansky
    @ddsky
    hi, I think I must be missing something substantial here. If I try authenticate('facebook') as in the example, I get that app_id is missing. I see that there is a config.json where I can put my app_id probably in the client_id field but where is this documented? I also see that @dgrubelic wrote a code snippet about facebook login in here but again, why is this special code, shouldn't this be handeled by the lib transparently and where is this documented?
    Marek
    @murbanowicz
    Hi Guys,
    I am trying to make it work with Quasar framework app. So far I cannot get it working... When I try to call this.$auth.authenticate... I am always getting auth undefined...
    // Vue & Axios
    import axios from 'axios'
    import VueAxios from 'vue-axios'
    Vue.use(VueAxios, axios)
    
    import VueAuthenticate from 'vue-authenticate'
    Vue.use(VueAuthenticate, {
      baseUrl: 'http://localhost:5000',
    
      providers: {
        facebook: {
          clientId: '***',
          redirectUri: 'http://localhost:8090/auth/callback'
        }
      }
    })
    David Urbansky
    @ddsky
    @murbanowicz same here, also on quasar
    Kieran
    @kieraneglin
    Hey, all. I need to use Twitch as a provider, but I see that vue-authenticate doesn't support it yet. I wanted to know if there were any plans for supporting twitch, or if I should try to implement it myself
    kpasko
    @kpasko
    super basic, but can anyone help with an error for google login? i'm getting a missing "client_id" with the call vueAuth.authenticate('google')
    have created a google project, have the client id and secret, but the vue-authenticate docs don't seem to mention anything in terms of getting those into its requests...
    kpasko
    @kpasko
    ah, disregard. apparently it has to be clientId in the configuration setup, not client_id
    therealwolf
    @therealwolf42
    Ah didn't know this existed
    @dgrubelic
    thank you!
    Davor Grubelić
    @dgrubelic
    Hey..
    so, i found out that this url: https://signup.utopian.io/auth/callback?code=11 which is accepting code parameter from github is having redirect
    therealwolf
    @therealwolf42
    redirect before closing?
    Davor Grubelić
    @dgrubelic
    and it is redirecting to https://signup.utopian.io/?code=11
    therealwolf
    @therealwolf42
    could this be a nginx problem?
    Davor Grubelić
    @dgrubelic
    yes, and before library can receive code
    probably..
    do you do server side rendering ?
    basically, what you should to in ca se of SPA is to always respond with application code from server
    for example, in nodejs world, you have something like this: https://www.npmjs.com/package/express-history-api-fallback
    this library makes sure that, which ever link you enter, you get your application
    client application
    maybe you don't have to setup your callback url to /auth/callback..
    maybe set it up to be /
    therealwolf
    @therealwolf42
    Okay - I think I do SSR - at least I build through npm run build. But I just started last year with Javascript so I'm getting used to all of it.
    Ehm, the api backend receives the request and then returns it
    but I guess not before the redirect
    I've implemented the backend api into an already existing framework, so I'm not sure in which way your package would work with that - but this is really interesting!
    I don't have access right now to the server, but my guess is that it doesn't even get to the point, so it has to be somekind of nginx redirect
    Davor Grubelić
    @dgrubelic
    this line check if redirectUri matches url on which Github redirects you
    you setup your redirectUri to be: ${process.env.ROOT_PATH}/auth/callback
    but, since on that route you have redirect and app lands on${process.env.ROOT_PATH}/ nothing happens
    therealwolf
    @therealwolf42
    oh but do you know what causes this redirect?
    Davor Grubelić
    @dgrubelic
    this is why popup is not closed and auth is not completed
    therealwolf
    @therealwolf42
    ah
    Davor Grubelić
    @dgrubelic
    your backend
    therealwolf
    @therealwolf42
    i see
    but it works in development mode with the same backend