Multiple errors with no real reason
-
Good Afternoon,
I’m having several errors with the plugin since I did an update on it. I’m able to get a JSON Web Token from the auth endpoint; however, when I attempt to use this for autologin, it’s giving me error 23. When I attempted to test this in PostMan, it’s giving me error 11.
WordPress Version: 5.8.1
Plugin Version: 3.3.1Example URL Call for AutoLogin (please note that my website URL and JWT have been redacted by me due to this forum being public):
https://{{MYWEBSITEURL}}/?rest_route=/simple-jwt-login/v1/autologin&JWT={{JWT RECEIVED FROM AUTH CALL}}&redirectUrl=https%3A%2F%2F{{MYWEBSITEURL}}%2Fcourses%2Fannual-hipaa-training%2F
Here are the settings that are currently configured:
General
Decryption key source: Plugin Settings
JWT Decrypt Algorithm: HS256
Decryption Key: set with a 32 character string
JWT Decryption Key is base64 encoded: No (Unchecked)
Get JWT Token from:
– REQUEST: JWT (ON)
– SESSION: Off
– COOKIE: Off
– Header: Authorization (ON)
All WordPress endpoints checks for JWT Authentication: On (checked)Login
Allow Auto-Login: Yes
Auto-Login Requires Auth Code: No
JWT Login Settings: Log in by WordPress Username (JWT Parameter Key: username)
Redirect after Auto-Login: Dashboard
Include request parameters used for login link in the REDIRECT URL: Yes
Allow redirect to a specific URL ifredirectUrl
is present in the request: YesAuthentication
Allow Authentication: Yes
Authentication Requires Auth Code: NoCORS
Allow CORS: Yes
CORS Headers: All enabled and default valuesI have uninstalled and reinstalled the plugin and reconfigured it, but it gave the same results.
Any assistance would be greatly appreciated.
Thanks,
Kris
- The topic ‘Multiple errors with no real reason’ is closed to new replies.