You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.
After a first sign in to Gaps with the domain's admin account and a successful fetch of the associated groups, the app crashes with the following stacktrace:
/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/signet-0.5.1/lib/signet/oauth_2/client.rb:906:in `generate_access_token_request': Missing authorization code. (ArgumentError)
from /.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/signet-0.5.1/lib/signet/oauth_2/client.rb:930:in `fetch_access_token'
from /.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/signet-0.5.1/lib/signet/oauth_2/client.rb:956:in `fetch_access_token!'
from /dev/gaps/lib/gaps/db/user.rb:241:in `do_refresh'
from /dev/gaps/lib/gaps/db/user.rb:101:in `client'
from /dev/gaps/lib/gaps/requestor.rb:135:in `user_client'
from /dev/gaps/lib/gaps/requestor.rb:143:in `get_client'
from /dev/gaps/lib/gaps/requestor.rb:155:in `request'
from /dev/gaps/lib/gaps/requestor.rb:193:in `block in request_all'
from /.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/core_ext/range/each.rb:7:in `each'
from /.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/core_ext/range/each.rb:7:in `each_with_time_with_zone'
from /dev/gaps/lib/gaps/requestor.rb:189:in `request_all'
from /dev/gaps/lib/gaps/requestor.rb:42:in `group_list'
from /dev/gaps/lib/gaps/db/group.rb:177:in `refresh'
from /dev/gaps/lib/gaps/db/group.rb:157:in `boot'
from bin/gaps_server.rb:366:in `block in main'
from /.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
from /.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
I can't figure why but It seems that the refresh token isn't set in client.authorization when fetch_access_token! is called.
Any idea on the root cause?
Anyway, thanks for this great tool, very helpful in managing our mailing lists :)
The text was updated successfully, but these errors were encountered:
sush
changed the title
Missing authorization code error after admin token has expired.
Missing authorization code after admin token has expired
Jan 4, 2015
After a first sign in to Gaps with the domain's admin account and a successful fetch of the associated groups, the app crashes with the following stacktrace:
I can't figure why but It seems that the refresh token isn't set in
client.authorization
whenfetch_access_token!
is called.Any idea on the root cause?
Anyway, thanks for this great tool, very helpful in managing our mailing lists :)
The text was updated successfully, but these errors were encountered: