Skip to content

Commit

Permalink
Merge pull request #70 from msaurabhee/fix_issue_69
Browse files Browse the repository at this point in the history
    Logging in detail
  • Loading branch information
yordis committed May 5, 2022
2 parents fb44fb6 + 1b21547 commit c841f11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## v0.10.0 - 2021-09-23

* Allows errors from the provider to be thrown back to the user.

## v0.9.0 - 2021-09-23

* Require at least Ueberauth 0.7 due to changed builtin CSRF protection
Expand Down
3 changes: 1 addition & 2 deletions lib/ueberauth/strategy/facebook.ex
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ defmodule Ueberauth.Strategy.Facebook do
fetch_user(conn, client, config)
end
rescue
OAuth2.Error ->
set_errors!(conn, [error("invalid_code", "The code has been used or has expired")])
e -> set_errors!(conn, [error("get_token_error", e)])
end
end

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Ueberauth.Facebook.Mixfile do
use Mix.Project

@source_url "https://github.com/ueberauth/ueberauth_facebook"
@version "0.9.0"
@version "0.10.0"

def project do
[
Expand Down

0 comments on commit c841f11

Please sign in to comment.