revert to WP OAuth Server

This commit is contained in:
lpm0073 committed 2022-11-09 09:40:09 -06:00
1 parent 3a5f7277bf
commit 4f9192f14a
5 files changed
+8 -9

No files matched your search

+1 -1
View File
@@ -1 +1 @@
__version__ = "1.0.2"
__version__ = "1.0.4"
+2 -2
View File
@@ -57,12 +57,12 @@ class WPOpenEdxOAuth2(BaseOAuth2):
BASE_URL = "https://set-me-please.com"
# a path to append to the BASE_URL: https://oauth_host.com/oauth/
PATH = "wp-json/moserver/"
PATH = "oauth/"
# endpoint defaults
AUTHORIZATION_ENDPOINT = "authorize"
TOKEN_ENDPOINT = "token"
USERINFO_ENDPOINT = "resource"
USERINFO_ENDPOINT = "me"
# The default key name where the user identification field is defined, it’s
# used in the auth process when some basic user data is returned. This Id