Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log the request in debug mode #125

Merged
merged 2 commits into from Dec 20, 2018

Conversation

RyanSiu1995
Copy link
Contributor

Regarding the issue #106

Copy link
Member

@scrogson scrogson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a little typo. Once that's fixed, I'll merge.

@@ -20,6 +21,17 @@ defmodule OAuth2.Request do
headers = process_request_headers(headers, content_type)
req_opts = Keyword.merge(client.request_opts, opts)

if Application.get_env(:oauth2, :debug) do
Logger.debug("""
OAuth2 Prvider Request
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provider

@scrogson scrogson merged commit 3468cdb into ueberauth:master Dec 20, 2018
@scrogson
Copy link
Member

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants