Joe McCormick
Joe McCormick
I also very much need refresh_token! I'm trying to implement my google_oauth2 strategy with google-api-client gem, but I need a refresh_token, and it seems like devise_token_auth is getting in the...
I replaced the above assign_provider_attributes with code from the dummy app for "custom/omniauth_callbacks", but I get nil when trying to print the resource. def omniauth_success super do |resource| pp resource...
I see my mistake after looking through DeviseTokenAuth::OmniauthCallbacksController... I just needed to be using @resource, and I can access auth_hash['credentials'] as well.
Not a problem! I took some time to understand how `tsc.nvim` works and made a small version of it I could play with for this issue. https://gist.github.com/jcmccormick/691cd788793c8f225531c6a9b4429314#file-local-share-nvim-site-plugin-nvim_tsc-lua-nvim_tsc-init-lua What ultimately fixed...