goth icon indicating copy to clipboard operation
goth copied to clipboard

how to use goth for gitlab when deploying the application on production

Open vinamra28 opened this issue 4 years ago • 1 comments

Hi, I am trying the use goth in my production application. The application is configured to use gitlab as oauth provider. When I try to run the application locally, it works fine but when I move the same application to production, it gives me the below error

oauth2: cannot fetch token: 401 Unauthorized
Response: {"error":"invalid_client","error_description":"Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method."}

Any idea? The redirect uri which is being getting created is as follows https://oauth.myapplication.com/auth/gitlab/callback

vinamra28 avatar Jan 27 '22 08:01 vinamra28

/cc @techknowlogick any pointers would be much appreciated :sweat_smile:

vinamra28 avatar Jan 27 '22 08:01 vinamra28