Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `typos --format brief`
  • Loading branch information
kianmeng committed Dec 1, 2022
1 parent 93ca6c2 commit 8480a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ This is particularly useful when your production application sits behind a
proxy that handles SSL connections. In this case, the `redirect_uri` sent by
`Ueberauth` will start with `http` instead of `https`, and if you configured
your GitHub OAuth application's callback URL to use HTTPS, GitHub will throw an
`uri_missmatch` error.
`uri_mismatch` error.

To prevent `Ueberauth` from sending the `redirect_uri`, you should add the
following to your configuration:
Expand Down
2 changes: 1 addition & 1 deletion lib/ueberauth/strategy/github.ex
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ defmodule Ueberauth.Strategy.Github do
set_errors!(conn, [error("OAuth2", reason)])

{:error, _} ->
set_errors!(conn, [error("OAuth2", "uknown error")])
set_errors!(conn, [error("OAuth2", "unknown error")])
end
end

Expand Down

0 comments on commit 8480a1a

Please sign in to comment.