Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Maxence Rose
    @pirmax_twitter
    with Vue.prototype.$http at first argument instead of VueResource
    Davor Grubelić
    @dgrubelic
    wait, what did you pass as first argument before?
    Maxence Rose
    @pirmax_twitter
    VueResource...
    Davor Grubelić
    @dgrubelic
    no, no...
    this is plugin function for Vue
    Maxence Rose
    @pirmax_twitter
    ok it's works !!!!
    Davor Grubelić
    @dgrubelic
    pass Vue.http
    there
    ok, have to run now..
    glad i helped
    Maxence Rose
    @pirmax_twitter
    thanks very much !
    Robert Metcalf
    @rmetcalf9
    I am researching this library. Can is be used to authenticate with google then retrieve a token to call google docs API's?
    Davor Grubelić
    @dgrubelic
    Yes. That is what you can use it for. You have google oauth example i /example folder
    Robert Metcalf
    @rmetcalf9
    I can see how to sign in using Google but is there an example of calling a Google API after sign in? I would need to know how to get the token Google returns to enable further API calls
    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