Comments (4)
Hi @sush, I suspect you've previously connected gaps, the refresh_token only seems to be returned on the first connect, where you'll see this:
You could fix this by temporarily adding:
authorization_options[:approval_prompt] = :force
after https://github.com/stripe/gaps/blob/master/bin/gaps_server.rb#L117
sauce: http://developers.google.com.resnip.com/accounts/docs/OAuth2WebServer/U0lSCa0.html?#alvin--CTimDTI
@gdb would it be a good idea to set that authorization_option
if the lister doesn't have a refresh_token set?
from gaps.
You can use my branch:
https://github.com/alvinlai/gaps/tree/force-refresh-token-first-time
to get the refresh_token
persisted for the first time
specifically:
from gaps.
@alvinlai: Good find! Merging in your change.
from gaps.
Thanks @alvinlai!
from gaps.
Related Issues (17)
- Missing authorization code: After changing admin password and revoking access HOT 3
- docker-runner pulls out of date image HOT 4
- No default set for size of 'group' collection thread pool HOT 6
- Screenshot URL broken in README HOT 2
- Configatron::UndefinedKeyError - Key not found: oauth (for locked configatron) HOT 1
- Search box that goes direct to "search all groups"
- NoMethodError - undefined method `collection' for nil:NilClass
- Heroku Mongo Authentication HOT 1
- No way to unsubscribe from a gaps set
- No way to see the number of subscribers to a gaps set
- No way to see when a set was last modified
- stripeoss/gaps Docker image is out of date HOT 4
- Which mongo docker image is the Dockerfile assumed to work with? HOT 2
- Corrupted session state HOT 2
- google-api-client Error HOT 15
- Gaps keeps crashing with BackendError HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaps.