-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github auth callback url issue #55
Comments
I have this same issue.. i'm trying to figure out how I am supposed to configure this. |
@midgethoen have you updated your github plugin in the Strider "Plugins" page? |
Also having this issue |
Same here (using strider |
Found a workaround. Use the following ENVs to configure github:
Along with Hum, you're probably already doing this. When does the callback not work, at what step in Strider? |
Could someone post how they start strider, with the envs (you can blank them out if they are sensitive)? |
|
^ ok yes you are missing the two ENVs for setting up the github plugin, see #55 (comment) and the readme. |
Hit this while doing some Nginx proxy shenanigans, and exporting I am using this upstart script.
... and the problem was that the upstart script should have exported On a side note, I'm not able to upgrade the system's |
@alexfernandez could you put a |
That is how You should get something like: {
"logging": {
"exitOnError": true,
"file_enabled": false,
"console": {
"level": 0,
"colorize": true,
"timestamp": true
},
"console_enabled": true
},
"viewpath": "/Users/iradchenko/sandbox/strider/lib/views",
"host": "0.0.0.0",
"port": 3000,
"server_name": "blah",
"db_uri": "mongodb://localhost/strider-foss",
"smtp_host": "",
"smtp_port": 587,
"smtp_user": "",
"smtp_pass": "",
"smtp_from": "Strider <noreply@stridercd.com>",
"enablePty": false,
"extpath": "node_modules",
"session_secret": "8L8BudMkqBUqrz",
"github_app_id": "",
"github_secret": "",
"cors": false,
"body_parser_limit": false,
"_": [],
"stubSmtp": true,
"plugins": {
"github": {
"test": "test",
"hostname": "blah"
}
} |
You are right, the change referenced above is unnecessary. The problem was that, if you use a domain different than |
This is still an issue. I've tried the solution above and it does not work. Still getting localhost:3000 in my callback URL. |
Did you update to 1.7.6? |
Running 1.7.6 yes. Bitbucket is working fine, but Github not so much. |
So I cannot reproduce this issue. I'll try do a fresh setup this weekend. Any help in narrowing down where the issue is, would be very appreciated. |
Sorry, I've got it to work now. Misplaced characters in ENV. By starting the application by using Might be worthwhile to update the README and state that |
The should be optional as of 1.7.6.. will look into that. |
@knownasilya sry, I missed your question and should have updated my question anyway. Yes, I upgraded the github plugi, which -- I believe -- fixed the issue for me. |
@asayuki , it works |
FYI - I was running strider 1.7.7 and everything worked fine with the basic env vars (no github_app_id or secret). I ended up reinstalling and got strider v1.8.0 and now it's required that I set |
Seems like
strider-github
doesn't useSERVER_NAME
to build github auth callback url.It always redirects me to localhost.
Bitbucket integration works well though.
The text was updated successfully, but these errors were encountered: