Hi,
First of all, I have to say I am not a developer and I am currently trying this in my own test tenant that I have for working for an Okta partner. I am trying to create a simple application that uses Okta for logins.
I’ve downloaded and installed the PHP Samples library for PHP. I’ve installed all the requisite libraries and run the composer. I’ve set up an application in the Okta tenant and entered the necessary details in the .env file.
When I go to the main URL “https://server.domain/”, the “views/index.twig” is displayed by the index.php, as it is pcked up by the “/” in the url.
When I then click on the login button, which should redirect to “login” and be picked up and utilise the “views/login.twig” by the “/login” check in the index.php.
However, I am getting the “The requested URL /login was not found on this server.” 404 error.
the same applies to the “/profile” entry.
Is there something else I should set up or add?
Thanks,
Darren