Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Google auth requires offline access acceptance #96

Closed
ianneub opened this issue May 16, 2015 · 1 comment
Closed

Google auth requires offline access acceptance #96

ianneub opened this issue May 16, 2015 · 1 comment

Comments

@ianneub
Copy link

ianneub commented May 16, 2015

I see this message all the time while trying to login using google oauth:

Image of offline access

<Application> would like to:

* Have offline access

Is it possible to get rid of this message?

I am using the following settings:
-authenticated-emails-file=/emails.txt -upstream="http://web:3000/" -cookie-secret="asdf" -http-address=0.0.0.0:80 -cookie-expire=8h0m0s

Thanks!

@jehiah
Copy link
Member

jehiah commented May 16, 2015

@ianneub no. "offline access" just means the proxy app gets a token that can be used. The only permission requested is to query email address, so that's the only thing the token is good for.

The need for a token that can be used "offline" is to re-validate a session later separate from when a cookie expires as recently happened in #88.

Let me know if that helps or if there are any follow up questions i can answer.

@jehiah jehiah closed this as completed May 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants