Code Monkey home page Code Monkey logo

Comments (7)

bdpiprava avatar bdpiprava commented on August 23, 2024

@perriea - Make sure you have configured the plugin as mentioned here https://github.com/gocd-contrib/github-oauth-authorization-plugin/blob/master/INSTALL.md#create-github-oauth-application.

And personal access token must have permission mentioned here.

Please do verify the auth config and permission on the personal access token.

from github-oauth-authorization-plugin.

swyngaard avatar swyngaard commented on August 23, 2024

I too am having the same issue. The error above seems to suggest that the code parameter is dropped from the request. Perhaps it's because I'm running the GoCD instance behind a reverse proxy. What are the recommended Apache config settings for running this GoCD plugin behind a reverse proxy with SSL?

from github-oauth-authorization-plugin.

perriea avatar perriea commented on August 23, 2024

@bdpiparva yes, I'm sure ...
I have the same case of @swyngaard, is it possible to have an Apache configuration or Nginx example ?

from github-oauth-authorization-plugin.

arvindsv avatar arvindsv commented on August 23, 2024

@perriea @swyngaard Not sure if it helps, but can you compare your Apache/NGinx configs with this? https://docs.gocd.org/current/installation/configure-reverse-proxy.html

from github-oauth-authorization-plugin.

swyngaard avatar swyngaard commented on August 23, 2024

Thanks for sharing the link above, @arvindsv. It turns out my apache config differed by the following settings:

  RequestHeader set X-Forwarded-Proto "https"

  <Location />
    Order allow,deny
    Allow from all
  </Location>

Everything is working as expected now.

from github-oauth-authorization-plugin.

arvindsv avatar arvindsv commented on August 23, 2024

@swyngaard Great! Thank you for taking the time to come back and confirm. :) I'll close this then, with the assumption that it works for @perriea too. Can reopen if necessary.

from github-oauth-authorization-plugin.

javaknight avatar javaknight commented on August 23, 2024

I am also experiencing the same issue with NGINX. I reviewed the suggested setup and mine is identical.

from github-oauth-authorization-plugin.

Related Issues (19)

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.