Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Conversation

davidmh
Copy link

@davidmh davidmh commented Apr 20, 2018

Allows specifying a request method for oauth2_token_url and oauth2_user_json_url. Defaults to GET.

Context:

https://meta.discourse.org/t/oauth2-basic-support/33879/66?u=davidmh

@davidmh davidmh closed this Apr 20, 2018
@davidmh davidmh deleted the feature/add-token-and-user-request-methods branch April 20, 2018 23:03
@davidmh davidmh restored the feature/add-token-and-user-request-methods branch April 20, 2018 23:04
@davidmh davidmh reopened this Apr 20, 2018
plugin.rb Outdated
# authors: Robin Ward
# url: https://github.com/discourse/discourse-oauth2-basic

require 'uri'
require 'net/http'
Copy link
Contributor

Choose a reason for hiding this comment

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

These should not be required. Did you find you needed them for some reason?

(Rails includes both.)

Copy link
Author

Choose a reason for hiding this comment

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

You're right, I'll remove them.

@eviltrout eviltrout merged commit 7c80a9c into discourse:master Apr 23, 2018
@davidmh davidmh deleted the feature/add-token-and-user-request-methods branch April 24, 2018 16:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants