Skip to content

Commit 25b2cec

Browse files
committed
fix: grant type client-credentials used
1 parent 5482c52 commit 25b2cec

File tree

1 file changed

+2
-2
lines changed
  • tutorwordpress/templates/wordpress/tasks/lms

1 file changed

+2
-2
lines changed

tutorwordpress/templates/wordpress/tasks/lms/init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
# wordpress user must be staff a staff to create, edit, and delete enrollments.
99
./manage.py lms manage_user wordpress wordpress@openedx --staff --unusable-password
1010
./manage.py lms create_dot_application \
11-
--grant-type authorization-code \
11+
--grant-type client-credentials \
1212
--client-id {{ WORDPRESS_OAUTH2_KEY_SSO }} \
1313
--client-secret {{ WORDPRESS_OAUTH2_SECRET }} \
1414
--scopes user_id \
1515
--skip-authorization \
1616
--update wordpress-sso wordpress
1717
./manage.py lms create_dot_application \
18-
--grant-type authorization-code \
18+
--grant-type client-credentials \
1919
--client-id {{ WORDPRESS_OAUTH2_KEY_SSO_DEV }} \
2020
--client-secret {{ WORDPRESS_OAUTH2_SECRET }} \
2121
--scopes user_id \

0 commit comments

Comments
 (0)