From 6eb4f65fe49ff76b615ccddcf7a3cfa3e921a8d4 Mon Sep 17 00:00:00 2001 From: lpm0073 Date: Tue, 8 Nov 2022 20:03:21 -0600 Subject: [PATCH] PATH needs a trailing slash --- CHANGELOG.md | 2 +- oauth2_wordpress/__about__.py | 2 +- oauth2_wordpress/wp_oauth.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7ac613..f17f696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGE LOG -## Version 1.0.1 (2022-11-08) +## Version 1.0.2 (2022-11-08) - add property for URL - add class variables for PATH, AUTHORIZATION_ENDPOINT, TOKEN_ENDPOINT, USERINFO_ENDPOINT diff --git a/oauth2_wordpress/__about__.py b/oauth2_wordpress/__about__.py index 5c4105c..7863915 100644 --- a/oauth2_wordpress/__about__.py +++ b/oauth2_wordpress/__about__.py @@ -1 +1 @@ -__version__ = "1.0.1" +__version__ = "1.0.2" diff --git a/oauth2_wordpress/wp_oauth.py b/oauth2_wordpress/wp_oauth.py index ed7ff05..338f267 100644 --- a/oauth2_wordpress/wp_oauth.py +++ b/oauth2_wordpress/wp_oauth.py @@ -57,7 +57,7 @@ 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 = "wp-json/moserver/" # endpoint defaults AUTHORIZATION_ENDPOINT = "authorize" diff --git a/pyproject.toml b/pyproject.toml index 972c094..85728d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__" [project] name = "edx-oauth2-wordpress-backend" -version = "1.0.1" +version = "1.0.2" authors = [ { name="Lawrence McDaniel", email="lpm0073@gmail.com" }, ]