Latest version of WordPress (5.9.2)
Latest Version of NextCloud (23.0.2)
Clean installs of both on DreamHost Server except install of Tim’s Nextcloud SSO OAuth2
SSL Let’s Encrypt Certs on both
Lasest version on FireFox (but also tried with Latest Safari)
Same Username,password, and email for both WordPress and NextCloud
Followed plugin setup instructions.
Logged off both WordPress and NextCloud Sites.
Clicked on Login with NextCloud button on the WordPress Default login page (wp-login.php).
Sent to NextCloud Site and logged in successfully.
Sent back to WordPress site and got the error:
WordPress returned an invalid state for this session
Log file only has 2 lines with no error.
Nextcloud 0Auth2 Client Setting:
Redirection URI https://site.myharvey.net
WordPress Settings (no Pritty Links):
Nextcloud URL https://<my cloud site>/index.php/
On login redirect user to: https://<my WordPress site>
Add login button to WordPress login page: Yes
Create account if not registered: Tried No and Yes
How to match users: Email Address
Default WordPress role for new users: Tried Administrator and Subscriber.
Tried on combinations of 3 WordPress and 3 NextCloud site on 2 different domains (the other hosted by me using Ubuntu with Hestia CP)
It did work once and still have that working but when I Export and Import the WordPress site to a different (and adjust settings) it does not work (I used All In One WP Migration Plugin as well as WPs own Export/Import.
The page I need help with: [log in to see the link]
- The topic ‘nc-sso-error=returned-invalid’ is closed to new replies.