From 650127988e21dcb7c4430352a79001c422a93720 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Sat, 14 Nov 2015 11:37:27 -0600 Subject: [PATCH] google auth update --- .../btn_google_signin_light_normal_web@2x.png | Bin 0 -> 8055 bytes .../btn_google_signin_light_pressed_web@2x.png | Bin 0 -> 8265 bytes app/views/docs/index.html.haml | 8 +++----- config/initializers/sorcery.rb | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 app/assets/images/btn_google_signin_light_normal_web@2x.png create mode 100644 app/assets/images/btn_google_signin_light_pressed_web@2x.png diff --git a/app/assets/images/btn_google_signin_light_normal_web@2x.png b/app/assets/images/btn_google_signin_light_normal_web@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..c1e2c5c7d2fd44bf9babaf95f859aaae3f09d7c6 GIT binary patch literal 8055 zcmdU!^-~;A_~%3L;7%4NI0Scx;1JwxaaahxXjmjjaDuzT;_gm@ySux)OW^WJzW2-3 z{Q-AVHPbUSPj^54?srd3^(#bKQ5x+X;N6=yZ_s3ABvjwLf${!xuaAWA=L#BFb@@}k zIIBvFzbPLjK6vwnj7?TTOx+#kBppLteJ;JP1C;}n{F@9r`%g(nWmGHuaU`}Fz@{pO z?XpHgDODd;1fSzn^9^S~S?ZKsb+5ZZb&*i5UD<7tskN@bsGOeZLN`?@5jGa)ky>M)UoLz2&9OU7QS+Zp8U<#cc5uBF566{gbkt%5HyD-2C1 zT+$mHqyPH@WwdBql=u^1tZ$na@Gl51xU;YU+(v(GB`0bw641E1`E@9&EBS8|q>x=g z2W?Nq$=R6*CK*}B;9NK_>Ax%kF#L|@DqbBY^JLAbq6ah>vR_wckR!yxHA~v&xO^-A zCtr4?c^7w7*&~bfuj*i}0N^91%Co%I%n3#pa~fXU}Oh=D+1eh*JOMRXj=!K9;{( zCho3)z%AzAMUg~*`l}lcpI>2NAt!?g5lPo%PEh(L*<&LENl}sWqe8?cx0f9I!jt=xGD3MHh(m6yv+(RSiA7!7u*Ua{e}5?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qbqs0gwK|7LQ%R zDf8~#Q`3VNIf8eo9J8BIl0Sg8NI2lTYyA_{?;k>F!#1*C1F00_{H@7!A^n ztiL(jZ%S=iwLe{3mJI@hc(q#1#hTx}HuCaz_9(!5{B}z6*ier^;d^;mvJG#wV{l37yT(cL1vM8XgNRZSp zoyd)VdfF>lQN!Av{0+***#l8@Uiz_{ZiCcY3w>Tk!WIUbJ|?@3!vbaf^^+*S@MJhd zc0Ww4Mwi1z+AxtXxE;9&)AbqE+;8?;Qb`PXt_37hgKuhYxc~y+wgU(v9c?aI1dpDhTHugK`yR~+3 zn#FT#M6;`5($jvbGGRi-(URp|4FsZ*iAC7)Df*ulvw{pVf5A;r}F4rB|jhzw*%90`*5bj zMUJPE?0-O|2uuq)8HMah+#ix@zglm*#Msr``Jv=<7OiWE$MmsM3`F2W$=_p`xR^*4Ngi&DVmacC~E%){ukezf71W} literal 0 HcmV?d00001 diff --git a/app/assets/images/btn_google_signin_light_pressed_web@2x.png b/app/assets/images/btn_google_signin_light_pressed_web@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..d01521e8a3ea944073b9fcd5ea657676c70a1618 GIT binary patch literal 8265 zcmcJUvIPCE2tcr?fmhX$Evsr^4y!Ho=HEr@S{7u^iIu$OK0e z(Xa)Z!pnn5W{<5Ki4EoJ3!`ZRes2dVMDJE2SIQxwB^Y+8Pkp8p)Zp`jW;di`Xc>R_`QcBpGSN}%dp}|sKdxbLw zeqKm>24MM6XE9=o=T)r576Jc<>lp52r3MWu*qjp8XdC{&N+Kai;H-E zPZv4QhQYmT())qO|0KjO!*>{*CijJ7Y~1&}!pJO2YTH+ee5sf*ta>mIg}*_>ZU2L@ zuKvF|@2DLg@2=M8N)(^*Xx5~|G5uQ?Saoh>s2SlXA3n2p6m;~s{j)`i3=S3@zwcIT zPCdp)5R7mCIdQ~HI-AK!Chf0*BGMGOU@>TDu_TV4GJhfcDT~%OT(p;jbJZ zE7N~n%9uuAas+{{3_u(Q1pO=Q9OL!|4~3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dxWBwx1nw;+AM+dbLh4H$hKHAYOJ>*# z(1D5kMNElh@i9ZSmo0}6{F|Jj7fA}l8ncY_h!;NXP&&X$=SdI7&j!d-+T%R+LxoU< zMgRFL#RivfCY#ReqRUrkDj4Z$jvf_ZtQ#T5WmVn#v#1EPogjsO4v literal 0 HcmV?d00001 diff --git a/app/views/docs/index.html.haml b/app/views/docs/index.html.haml index e687e58..0b3d9a8 100644 --- a/app/views/docs/index.html.haml +++ b/app/views/docs/index.html.haml @@ -1,5 +1,3 @@ -%p= link_to 'Login with Google', auth_at_provider_path(provider: :google) - --# - %h2 Something more helpful later - %p= raw(ap @doc) +%p + = link_to auth_at_provider_path(provider: :google) do + = image_tag 'btn_google_signin_light_normal_web@2x.png', size: '50%' diff --git a/config/initializers/sorcery.rb b/config/initializers/sorcery.rb index 6a97688..a0ee973 100644 --- a/config/initializers/sorcery.rb +++ b/config/initializers/sorcery.rb @@ -130,7 +130,7 @@ Rails.application.config.sorcery.configure do |config| config.google.key = ENV["google_key"] config.google.secret = ENV["google_secret"] - config.google.callback_url = "http://localhost:3000/oauth/callback?provider=google" + config.google.callback_url = ENV["google_callback"] config.google.user_info_mapping = { email: "email", first_name: "given_name", last_name: "family_name" } # config.vk.key = ""