Skip to content
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

Log a helpful message if exchange_code_for_access_token() times out and the fake UAA is enabled #36

Open
toolness opened this issue Jun 28, 2017 · 2 comments

Comments

@toolness
Copy link
Contributor

It's a pretty minor use case, but I tried enabling the fake UAA provider on a cloud.gov deployment just now and the callback endpoint seemed to "hang", eventually resulting in a timeout message from cloudfoundry.

@toolness
Copy link
Contributor Author

Oh... um... it is probably because the endpoint was unable to call back to its own server instance because WEB_CONCURRENCY defaults to 1 and I didn't manually set it to anything else. Which we've already documented.

@toolness
Copy link
Contributor Author

That said, I wonder if it'd make a sense to add a timeout to the endpoint and have it log a helpful error message if the fake UAA is enabled.

@toolness toolness changed the title Enabling fake UAA on cloud.gov times out on auth callback Log a helpful message if exchange_code_for_access_token() times out and the fake UAA is enabled Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant