Open aarthi-mallow opened 2 years ago
This could be the same as this: https://github.com/stevenkaras/omniauth-mailchimp/pull/8
Was this ever resolved? I don't see it as being related to https://github.com/stevenkaras/omniauth-mailchimp/pull/8, because that issue involves the refresh token not be set, not the access token.
We are seeing exactly the same issue with Slack. Reverting to v1.7.2 fixes the issue.
Has it been fixed? I face the same issue
PRs are welcome
Can i work on this?
Make sure that you are building your link correctly.
I was seeing the same error, undefined method 'expired?' for nil:NilClass
until I fixed my link_to url
route:
get 'auth/google_oauth2/callback', to: 'omniauth_callbacks#create'
wrong link:
view:
<%= link_to "Sign in with Google", '/auth/google_oauth2/callback', method: :post, data: {turbo: false} %>
correct link:
view:
<%= link_to "Sign in with Google", '/auth/google_oauth2', method: :post, data: {turbo: false} %>
NoMethodError (undefined method `expired?' for nil:NilClass) in V1.7.3. Works fine in older versions.