$debug_lti_parameters was set to 1.
But I couldn't find either the "iss" and "client_id" values that you mentioned in the webwork2.log
The typical error messages look like:
[2024-06-12 15:14:53.45273] [22661] [info] Creating process id file "/run/webwork2/webwork2.pid"
[2024-06-12 15:14:53.45304] [22686] [info] Worker 22686 started
[2024-06-12 15:15:17.95425] [22685] [warn] [1-2TpRss-92I] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with invalid or missing parameters.
[2024-06-12 15:15:46.63068] [22662] [warn] [WMiZWblPTTqS] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with invalid or missing parameters.
[2024-06-12 15:20:33.96425] [22668] [warn] [Jmr90IYjMKbn] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with invalid or missing parameters.
[2024-06-12 15:20:54.45343] [22686] [warn] [WXcOc7JB82tU] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with invalid or missing parameters.
[2024-06-12 15:20:55.77463] [22661] [warn] Stopping worker 22674 immediately
[2024-06-12 15:20:55.77475] [22661] [warn] Stopping worker 22685 immediately
[2024-06-12 15:20:55.77623] [22661] [warn] Stopping worker 22670 immediately
[2024-06-12 15:20:55.78013] [22661] [info] Worker 22674 stopped
However, in the earlier part of the log, I did find
[2024-06-12 14:35:52.29798] [22302] [warn] [tGQBAQgRi8Jz] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with the appropriate parameters.
[2024-06-12 14:39:14.67747] [22302] [warn] [VFofusfq2hj4] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with the appropriate parameters.
[2024-06-12 14:39:59.11805] [22301] [warn] [F3tDR3GUkpOG] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with the appropriate parameters.
But I don't recall ever successfully login to WebWork via Canvas. And don't recall what I did differently.
The webwork roster does not have any user except the admin account. So I expect when attempted access the HW set via Canvas, a new user will be created in the WebWork course.
Also, the url given in the Canvas assignment is
https://math.csudh.edu/webwork2/Canvas_Integration
or should it be
https://math.csudh.edu/webwork2/Canvas_Integration/HW_01
?
Hopefully, you understand the puzzle and can help us to solve it. Thanks.