Comments (7)
@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.
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.
@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.
@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.
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.
@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.
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)
- 404 using callback URL HOT 2
- GitHub Enterprise integration broken HOT 4
- Blocks entire GoCD server when Github is down/slow HOT 3
- Instructions to configure plugin via automation HOT 1
- Instructions on enable plugin debug HOT 2
- Deprecated Teams API Endpoints HOT 8
- Release 3.3.0-146 possibly affected by CVE-2020-36518 HOT 3
- Request go.plugin-settings.get-configuration is not supported by plugin HOT 1
- Once install the plugin, doesn't show GitHub login page HOT 3
- Plugin styling is coupled to GoCD server HOT 1
- Login page redirects to github.com when configured for GitHub Enterprise HOT 1
- Update installation guide for plugin HOT 3
- When are changed emails synchronized into gocd? HOT 5
- It should choose the primary email, not the first one HOT 2
- Document how to use plain values in cruise-config.xml HOT 2
- Redirected with incorrect `client_id` resulting in GitHub 404 error page HOT 5
- Support user search functionality in keeping it compatible with github.oauth.login HOT 2
- Deprecated Github Auth Mechanism HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-oauth-authorization-plugin.