You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line with the adjustments I've made to the recommended file structure.
The application I'm developing is running on a live server, so I have created a symlink to token.php within the folder /my/web/directory/public_html/. The server runs nginx, which is configured to use this folder as the web root.
I have created the necessary tables and added the testclient:testpass credentials to the oauth_clients table by issuing the SQL statement suggested in the documentation:
INSERT INTO oauth_clients (client_id, client_secret, redirect_uri) VALUES ("testclient", "testpass", "http://fake/");
I then execute the following command from my server's console:
I do not see any kind of response whatsoever. There is no error message, but there is no token, either.
I have followed all of the setup instructions and, aside from re-arranging the file structure and assigning proper values to the database connection variables, I have made no alterations.
The text was updated successfully, but these errors were encountered:
Following the 'Step-By-Step Walkthrough' documentation, I am unable to complete the 'Setting up a token controller' step.
I have created the directory
/my/web/directory/private_html/user-api
. Within that folder I issued the following command:The command executed successfully and I proceeded to create the following two files:
/my/web/directory/private_html/user-api/bootstrap/server.php
/my/web/directory/private_html/user-api/src/Controller/token.php
I altered the
require_once
statement withintoken.php
to read:In line with the adjustments I've made to the recommended file structure.
The application I'm developing is running on a live server, so I have created a symlink to
token.php
within the folder/my/web/directory/public_html/
. The server runs nginx, which is configured to use this folder as the web root.I have created the necessary tables and added the
testclient:testpass
credentials to theoauth_clients
table by issuing the SQL statement suggested in the documentation:I then execute the following command from my server's console:
I do not see any kind of response whatsoever. There is no error message, but there is no token, either.
I have followed all of the setup instructions and, aside from re-arranging the file structure and assigning proper values to the database connection variables, I have made no alterations.
The text was updated successfully, but these errors were encountered: