WA Log-in box on non-WA hosted site without redirect
Hello,
Does anyone have any idea how to change the code to make this work or any ideas to help?
I am setting up a website for a small volunteer organization. I have both a WA site set up and a non-WA hosted site. The non-WA hosted site is the main site and I am utilizing a lot of WA widgets on that site, for example signing up for events, joining the organization, viewing the membership directory, etc. Visitors to the website should never leave the actual non-WA site.
I have several widgets behind the "members only section". I can direct the widget to those pages and the widget will (correctly) prompt them to log in and allow them to view the content as intended. However, this method provides no functionality to be able to log out.
I would like to be able to add a log-in box at the top of my non-WA site to allow users to log in based on their WA information functions identical to the log in section on an actual WA site. It would prompt them to log in and after successfully logging in it would display their name/view profile/change password/log out. I have found the code provided to insert a log in box on to a non-WA website and tried it. However, that code provides for an automatic redirect to the WA home site. I do not want a redirect after successful log in.
Ideally, I'm looking for a "log-in widget" that allows the log in/log out function without redirecting a user from the non-WA account.
Anyone have any ideas?