-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unable to process callback from Github #1734
Comments
Here is my github configuration
|
can you post teleport logs when this happens? Usually the logs are there, can you also put teleport to debug loging mode in config or using |
So it looks like the problem is that for some reason, the list of teams being returned by GitHub does not include the new team that I created. It seems that maybe there is some sort of limitation on the number returned? |
We are using this method documented by github: https://developer.github.com/v3/teams/#list-user-teams I don't think we paginate the results so we just process the first page right now. I'm gonna file this as an issue. |
I've been experimenting and it looks like the limit might be 30 that is the number that is always returned even if i remove myself or delete some of the teams that come back in the list. |
yes, this code should paginate but it does not: https://github.com/gravitational/teleport/blob/master/lib/auth/github.go#L377 |
Just confirming that I also observe this pagination issue on the |
I'm trying to set up Teleport using the GitHub authentication mechanism and get an error on the callback. Everything seems to match the instructions but it fails on the call back with the message below.
What happened: Unable to process callback from Github
What you expected to happen: A successful login
How to reproduce it (as minimally and precisely as possible): Set up git hub as a authentication type and create the githup oath app and try to log in for the first time
Environment:
teleport version
): Teleport v2.4.2 git:v2.4.2-0-g079d345tsh version
): Teleport v2.4.2 git:v2.4.2-0-g079d3452NAME="Amazon Linux AMI"
VERSION="2015.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.03"
PRETTY_NAME="Amazon Linux AMI 2015.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2015.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Browser environment
MacOS Chrome and Safari
Relevant Debug Logs If Applicable
This does not seem to be supported
The text was updated successfully, but these errors were encountered: