This is way harder that what I imagined.
I tried an auto submit login button with Javascript, absolutely everything did not work. I tried CURL with PHP examples. Nothing.
So I got the post data from the basic EE login form when its submitted to see if I can just make a simple PHP directly call to the url that has the username&password; in it, but that does not work either, because it seems the EE login form generated a unique value XID on each load.
The only thing I could do so far was:
Hide all values as hidden and just the “submit” button is displayed, but this is very ugly. Now I need to instruct a visitor to click the submit button, which then logs in to the page. You can look the username/pass in the source code, but I don´t care as the user is temporary and restricted to only that page so I don´t consider this a security bug either but it would be so much better if I could just load the page (which logs in the behind the user) and then just redirects to the logged in page.
Even better of course would be not be able to see the login in the source code. But sadly im not a developer and something this basic looks very hard to do on my side.
Is there someone I could maybe pay for this? I think this would be very easy to do correct?
What I want is basically:
1. Put the username and password on the page.
When its loaded, it basically uses this data to log in.
2. Same as 1, but the username/pass hiding as EE variables or PHP, basically that it does not show in the page source code.
All I need is send some users to a page on EE which is only available for them, not to the public. This seems rather hard to do without giving users real logins/pass which would be a real pain to do for every visitor.