ueberauth / ueberauth_vk

vk.com OAuth2 Strategy for Überauth.
https://hex.pm/packages/ueberauth_vk
MIT License
19 stars 12 forks source link

VK now requires version ("v") request field. #37

Closed versilov closed 6 years ago

versilov commented 6 years ago

Without this field VK API returns error and Ueberauth fails with exception:

Elixir.FunctionClauseError: no function clause matching in List.first/1
  File "lib/list.ex", line 220, in List.first/1
  File "lib/ueberauth/strategy/vk.ex", line 171, in Ueberauth.Strategy.VK.fetch_user/3
  File "lib/ueberauth/strategy.ex", line 301, in Ueberauth.Strategy.run_callback/2
  File "lib/extrapost_web/controllers/auth_controller.ex", line 1, in ExtraPostWeb.AuthController.phoenix_controller_pipeline/2
coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.2%) to 86.486% when pulling 3edd5443d67b3ae12fa2311af2cb44a3cbeda478 on versilov:master into 54bed4f6aac2b5b0f2bbcc93807ee2d06c214913 on sobolevn:master.

sobolevn commented 6 years ago

Thanks!