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

Behind Google Cloud Identity-Aware Proxy #112

Open
ghost opened this issue Sep 23, 2018 · 3 comments
Open

Behind Google Cloud Identity-Aware Proxy #112

ghost opened this issue Sep 23, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 23, 2018

Hello,

Our Gerrit server is running behind Google Cloud Identity-Aware Proxy and it works well.

But the only issue is that a user has to click Sign In in Gerrit home page in order to do an actual sign-in to Gerrit. People is usually confused because they think they already signed-in Gerrit when he/she signed in Google Cloud IAP.

Is there any way to sign-in (or sign-up) automatically?

Thanks,

@ghost
Copy link
Author

ghost commented Sep 24, 2018

And also web session seems to be expired after 1 hour, but I'm not sure whether Google IAP causes it.

@davido
Copy link
Owner

davido commented Sep 25, 2018

Can you try without IAP ro confirm that session expiration issue is related to IAP? Refresh access token is not implemented: [1].

[1] https://developers.google.com/identity/protocols/OAuth2WebServer#offline

@ghost
Copy link
Author

ghost commented Sep 25, 2018

Yes, I tried without IAP and it works fine. It looks like IAP causes this issue.
IAP session is valid only for one hour and it also seems to work when I tried 'refreshing': [1].

Currently I'm just using IAP in order to restrict access not just by domain, but also by a list of emails (via Google group).

[1] https://cloud.google.com/iap/docs/special-urls-howto#refreshing_user_sessions

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