Coder Social home page Coder Social logo

Comments (15)

Tuba2 avatar Tuba2 commented on June 8, 2024

Same issue reported in #2

from desktop-app.

bgenchel avatar bgenchel commented on June 8, 2024

Having the same issue

from desktop-app.

les-larsj avatar les-larsj commented on June 8, 2024

Having the same issue

from desktop-app.

johanftg avatar johanftg commented on June 8, 2024

I have the same issue :(

from desktop-app.

Collin-Nelson avatar Collin-Nelson commented on June 8, 2024

I'm having the same issue on windows 10

from desktop-app.

Jdunc30 avatar Jdunc30 commented on June 8, 2024

Having the same issue on Mac Big Sur

from desktop-app.

kyletolle avatar kyletolle commented on June 8, 2024

Also experiencing this on macOS Big Sur with Station version 2.0.9.

from desktop-app.

kpinegar2 avatar kpinegar2 commented on June 8, 2024

Same issue here, is there any update?

from desktop-app.

desmondfuller avatar desmondfuller commented on June 8, 2024

piling on. Same thing. Google Data Studio works however.

from desktop-app.

ngonzalvez avatar ngonzalvez commented on June 8, 2024

Seems to be related to this.

This code is trying to get the CLIENT_ID variable from the environment. If you check the .env.example, the CLIENT_ID should be defined there. But if you check the .env.production file it is never set.

Simple fix:

  1. Clone the repo
  2. Get custom OAUTH2 credentials for desktop apps from here
  3. Add the CLIENT_ID and CLIENT_SECRET variables to your .env file
  4. Build the app

A more elegant solution would be to add a section in the app settings to set the CLIENT_ID and CLIENT_SECRET there.

from desktop-app.

ngonzalvez avatar ngonzalvez commented on June 8, 2024

BTW, in Windows, you can just add the credentials to the C:\Users\[USER]\AppData\Local\Programs\station-desktop-app\resources\.env.production file instead of having to rebuild the app.

from desktop-app.

johanftg avatar johanftg commented on June 8, 2024

from desktop-app.

IgorBogdanovski avatar IgorBogdanovski commented on June 8, 2024

Is there perhaps a little less "engineer-y" solution for this issue? Oh, and I am on BigSur 11.5.2.

from desktop-app.

leangseu avatar leangseu commented on June 8, 2024

For mac user, you can edit file in /Applications/Station.app/Contents/Resources/.env.production then add GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET

from desktop-app.

carsondarling avatar carsondarling commented on June 8, 2024

@leangseu were you able to get this method to work? I've got a client ID and secret setup, but when I authorize an account, I first get redirected to the Station app, and then get redirected to https://getstation.com/app-login-success/#.

It appears that it's related to https://github.com/getstation/desktop-app/blob/main/app/services/services/authentication/main.ts#L82, but I don't fully understand the actual authorization flow that Station is using.

Update: I'm wondering if this is based on missing STATION_API_AUTHPROXY_ENDPOINT in the config.

from desktop-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.