Did you setup you callback url to go to
https://somedomain.org/cake/pie
rather than
https://somedomain.org/cake/pie/
or
https://somedomain.org/cake/pie/index.php
The first attempts to load the file index for that folder, and a mis configured apache/php will not call PHP
Please show your code, with secrets removed so we can check what you are doing