page.
If it finds the Username & Password values in the table “userlogindetails” it rdirects to the formpage.php.
Groovy. Done this successfully often but not within months & pandemic & Red Moon rising. Before Actions became API.
The Security Provider was set up like this:
Okay, heck with it. Screenshot doesn’t load.
And the ACTION for my login.php page was simply dropping the Security Provider itself into API “login”. And running the Conversion “Make login form” on my login.php used these post values . . .
I have tried this both ways – resetting the $_POST username and password fields to the literal values I set in the Security Provider (mapping the username and password values to the actual column values in my
“userlogindetails” table)
and leaving the default $_POST.username & $_POST.password alone, since they were already correctly passed in the Security Provider itself.
Does anyone have the patience to see the error of my ways?
are you sure this is correct… the id and password the same??
Im not sure if making the Identity and the Password the same field…
Normally I use the Identity as “id” and the password … well as the password …(*the column in your database)
A status 401 response means incorrect credentials, so are you sure you mapped all database fields correctly? The story_collectior_id for the password seems strange.
In this test I set up identity and password to be the same because in my tests I could easily remember what the password number was along with my own email address.
ok… sure… you can do as you want… but the reason why i say … just try… to use the “id” for testing… as this might result in it working… as your password might be hashed and then the identity might be to long…
so just to “test” … Identity = id…
aslo… what happens when you login? does it direct to another page? or reload the data on the page??? as the form does nothing once you submit it…???
why is this in your header??? Remove this … as this will be done with your form…
As its now trying to login when the page loads… with no post data… remove and try again…