Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    George Kinsman
    @gkinsman
    🎉
    RedFelix
    @J2Phoenix
    Hi how is this package added to a project?
    Edvinas Selskas
    @eselskas
    :wave: is there any other option other than popup for display? For example a redirect
    Ivan
    @ivanvorona
    Hi @dgrubelic - did you get a chance to check my git repo out?
    streamheart
    @streamheart
    hey @eselskas can you show me the configuration you created for your custom oauth2 server? because some of my configurations arent being read like the url is always set to "/auth/login"
    Nguyễn Hoàng Trung
    @trungnh99_gitlab
    hey,
    i have some problems don't understand, can someone help me, pls
    juber-khan
    @juber-khan
    this.$store.dispatch("login", { user, requestOptions });
    whats should be there in user and requestOptions for Vuex
    vue-authenticate plugin.
    Alessandro Sanino
    @saniales
    hello guys
    what flow do you usually follow if you need to regiter a user on your SPA from data from various social network (let's take Google as example)
    Joz
    @Showcase-Joz
    so ive just figured out how to use aws-amplify's Auth.signIn() method to check a cognito pool. now i have to learn about vuex's state management and how to persist locally. will this package help me get there quicker??
    Davor Grubelić
    @dgrubelic
    Hi @Showcase-Joz this library is for OAuth 1/2 use only. It seems to me that AWS Amplify has it's own authentication flow, so I don't see how could you use this lib with it.
    Christopher Norkett
    @waterlooblue
    Has anyone setup a provider for Twitch auth?
    Davor Grubelić
    @dgrubelic
    Hi, have you checked their dev docs? https://dev.twitch.tv/docs/authentication
    Since it is OAuth, it is pretty much the same as for any other provider, you just change redirect uri, client_id and client_secret
    Christopher Norkett
    @waterlooblue
    Yes I've been using the docs. I've been able to get it to authenticate. My issue right now is the popup window will get the callback with the auth token and I need to save the token before the window closes. I'm assuming I'll need to use the custom interceptor but any guidance would be appreciated
    Davor Grubelić
    @dgrubelic
    What do you mean "you need to save token"? If authentication went well, you ca get token from $auth instance itself: this.$auth.getToken().
    Christopher Norkett
    @waterlooblue
    When it resolves with twitch it redirects to a url with the token example: https://localhost#access_token=0123456789abcdefghijABCDEFGHIJ
    &scope=viewing_activity_read
    &state=c3ab8aa609ea11e793ae92361f002671
    &token_type=bearer
    I want to save the token in the state for future calls
    Christopher Norkett
    @waterlooblue

    All good!

    methods: {
    authenticate: function (provider) {
    var this = this;
    this.$auth.authenticate(provider).then(function () {
    // Execute application logic after successful social authentication
    console.log(this
    .$auth.getToken());
    this.$router.push('/dashboard');
    })
    }
    }

    I needed to add the this_ , I was trying to use this.$auth.getToken() before but it was undefined.

    Kysen Jackman
    @kysenj
    Good morning. How to center the auth popup?
    IvanOko
    @oko_ivan_twitter
    hello! how can I use this plugin in a regular vue import style like this in main.js ? import authenticate from "./plugins/authenticate"; new Vue({
    authenticate,
    render: h => h(App)
    }).$mount("#app");
    Waldemar Enns
    @WaldemarEnns
    Hey there, i found this module in the official alerta-webui project (Version 7.0). I am using keycloak as my auth provider in alerta. So basically i want to re-use the access_token from keycloak for API requests to another API, i want to integrate in alerta-webui 7.0 - so i coded everything but the token seems to be invalid. So my question is pretty easy: Do i get the id_token or the access_token? I need the access_token. If I get the id_token: How can i manage the auth-configuration of vue-authenticate in alerta-webui so that i get the access_token additionally? Thank's a lot!
    Samy Dindane
    @Dinduks
    Hi everyone. I managed to have vue-authenticate call my backend with the code, clientId and redirectUri, but I have no information about the user in order to store their access token (after requesting it). How should I go about that?
    I am I supposed to request an access token using the code and return that same token to the client side?
    Samy Dindane
    @Dinduks
    image.png
    Ok that seems to be the case.
    Waldemar Enns
    @WaldemarEnns
    Hey @Dinduks , can you paste a link to the comment please? Thank you :)
    uwejan
    @uwejan
    Hey guys, can someone link me a good tutorial for, generic outh2, i.e laravel passport or any custom provider and using vue-auth for front-end.tutorial only for front-end.
    uwejan
    @uwejan
    @all any help please.
    Waldemar Enns
    @WaldemarEnns
    It seems that vue-authenticate in combination with popups, does not work out with popups very well, since they get blocked by default from the browser (Chrome in my case). Other libraries' popups do not get blocked (like https://www.npmjs.com/package/oidc-client ) - did anyone faced the same problem? Thanks.
    Ivan
    @ivanvorona
    Hi Guys, anyone has working repo example which leverages VUEX and uses vue-authenticate library?
    Ivan
    @ivanvorona
    Hello, is this community and library alive?
    Davor Grubelić
    @dgrubelic
    Probably looks like "no" at the moment. Sorry about that, I just had some other priorities. I'm currently working on refactoring most of infrastructure and demo site that will allow me to quickly develop new stuff.
    Usman5900
    @Usman5900
    Hello, i need some help in vue-authenticate stuff.
    Anyone one available at this moment?
    Milindu Sanoj Kumarage
    @agentmilindu
    Screenshot from 2020-09-15 23-46-58.png
    I'm getting this error when trying to connect with FB auth
    I have CORS setup in my Spring Boot applications to allow all
    Screenshot from 2020-09-15 23-50-19.png
    My backend run on 8080 while the frontend runs on 8081
    What could be the reason I'm getting this error?
    Milindu Sanoj Kumarage
    @agentmilindu
    Screenshot from 2020-09-15 23-54-01.png
    This is my Vue Authentication configuration
    Fahd ADDI
    @fahdaddi

    hey I'm using vue-authenticate to login via facebook/google, I found a problem after signin, I get the acces_token but the tab doesn’t close and return to my page to execute the call back (send the access_token to back_end) instead it redirects to my website (base_use/#access_token=....)

    authenticate: function(provider) {
          let self = this;
          self.$auth.authenticate(provider).then(function() {
            let token = self.$auth.getToken();
            self.$axios
              .get("social/auth", {
                params: { token: token, driver: provider }
              })
              .then(function(response) {
                self.$root.closeDrawer();
                self.$root.signin(response.data);
              });
          });
        }

    Expected behavior: after succes login with fb, close the tab and execute the code from let token = self.$auth.getToken();
    Actual behavior: after succes login with fb, it redirects back to my website in the new tab without executing the callback

    jauzmendi
    @jauzmendi
    Hi, I get Request handler instance not found error on my component
    its something with this.$auth.authenticate(provider).then(function () when I try to auth with twitter
    AutomationG
    @AutomationG

    I am using vue-authenticate and this.$auth.authenticate('linkedin') doesn't provide any response. I am able to launch, login and authenticate in new tab but the tab closes after authentication.

    Vue.use(VueAuthenticate, {
    baseUrl: 'http://localhost:8080/',
    providers: {
    linkedin: {
    clientId: window.CONSTANTS.APP_LINKEDIN_CLIENT_ID,
    redirectUri: linkedInAuth.redirectUrl,
    requiredUrlParams: ['scope', 'state'],
    scope: ['r_emailaddress', 'r_liteprofile']
    }
    }
    })

    Adam
    @atourkow_gitlab
    I'm having an issue where <div v-if="!this.$auth.isAuthenticated()"> isn't updating without reloading the page.