@khalid-kunji did u get this working? I am getting the same error.
Session Sharing NodeBB and Wordpress(Referrer URL in the header)
We successfully integrated wordpress with nodebb, every thing works great.Here is my site "https://www,happyusclub.com". But during login from the nodebb site , the referrer link in the header is showing as "https://forum.happyusclub.com" without any permalinks.
Basically we are trying to redirect users to the referrer page after login.(similar to nodebb community after login the users redirecting to the page where they come from). But in my site when the user clicks login it goes to wordpress sso as expected but with referrer link as forum homePage without any permalink. Can anyone share your thoughts on how to approach this problem.