revert to WP OAuth Server

This commit is contained in:
lpm0073
2022-11-09 09:40:09 -06:00
parent 3a5f7277bf
commit 4f9192f14a
5 changed files with 8 additions and 9 deletions

View File

@ -1 +1 @@
__version__ = "1.0.2"
__version__ = "1.0.4"

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, its
# used in the auth process when some basic user data is returned. This Id