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

Client headers #8

Merged
merged 6 commits into from
May 29, 2015
Merged

Client headers #8

merged 6 commits into from
May 29, 2015

Conversation

benschwarz
Copy link
Contributor

Added client headers as per auth0/ruby-auth0#31 & SDK checklist

@mgonto
Copy link

mgonto commented May 13, 2015

We've still not defined format and naming of the query string, once we do, we'll merge it.

@benschwarz
Copy link
Contributor Author

@mgonto What do you mean? Whats left to agree on?
It matches the header, and its documented in the SDK checklist — Are we just waiting for it to settle?

@options.client_options.userinfo_url = "https://#{options[:namespace]}/userinfo"
@options.client_options.authorize_url = "https://#{options[:namespace]}/authorize?#{client_info_querystring}"
@options.client_options.token_url = "https://#{options[:namespace]}/oauth/token?#{client_info_querystring}"
@options.client_options.userinfo_url = "https://#{options[:namespace]}/userinfo?#{client_info_querystring}"
Copy link
Member

Choose a reason for hiding this comment

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

  • /oauth/token: please use request header instead of QS
  • /userinfo: it's not neccesary

hzalaz added a commit that referenced this pull request May 29, 2015
@hzalaz hzalaz merged commit 7f7b272 into master May 29, 2015
@hzalaz hzalaz deleted the client-headers branch May 29, 2015 13:22
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.

4 participants