Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Davor Grubelić
    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 /
    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ć
    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
    oh but do you know what causes this redirect?
    Davor Grubelić
    this is why popup is not closed and auth is not completed
    Davor Grubelić
    your backend
    i see
    but it works in development mode with the same backend
    Davor Grubelić
    maybe your backend is configured differently in development mode
    i don't know
    okay I will see why that happens - haven't coded the backend
    I mean the main parts
    Davor Grubelić
    i have tested this library on many cases, and usually it happens that it is problem with implementation code, not the library itself :(
    but i can't help you with that bacause i don't know your backend
    you can reach out here anytime you need help
    don't worry - you helped me a lot. A big thanks to you!
    By the way - what I'm programming is the account creation for something called Utopian - which is Github build on the blockchain, which rewards Open Source Contributions

    There is already an account creation but this is through another interface of the blockchain.

    Nevertheless, you might want to check it out: utopian.io :)

    Davor Grubelić
    will do..
    (I'm just a developer helping out on utopian, so don't worry - just thought you'd might appreciate it)
    Umar Draz
    for this vue-authenticate what passports npm i need to install on my express backend
    Edan Weis
    Until the readme is updated, where can I see a full example of vue-authenticate?
    Florence Comajes
    Hello, Guys I am using vue-authenticate on social networks
    I am now get stuck on getting the data back in the redirectUrl
    I am currently using adonis as a api only
    is it possible / hard to replcae in minimal user/password server api
    Hi guysd.
    May I know what does this.$auth.login URL represent?
    Hello all! Just a quick question, does anyone know if this framework works with IdentityServer4 for dotnet core?
    For oAuth
    Phuong Le
    I am integrate Vue-authenticate with ID4