@atrilahiji Not exactly the same use case but I am unable to authenticate with the (/auth/login) endpoint using Postman. Unfortunately the Directus docs and youtube channel are not very elaborate so I am hoping for any guidance here 😁
(Please pardon my ignorance - self taught "dev" here 😬)
There is this
but its 3 + years old where the version used has totally different API endpoints + he uses another API testing tool for Mac...
Not sure what's wrong with my POST request 😕
9c869a58-77a2-4ca5-8fb0-88d3607d75c6-image.png
Line 287: **BOLD**
if (!function_exists('create_unknown_project_app')) {
/**
* Creates a simple Application when the project name is unknown.
*
* @param string $basePath
* @param array $config
* @param array $values
*
* @return Application
*/
function create_unknown_project_app($basePath, array $config = [], array $values = [])
{
return create_default_app($basePath, $config, array_merge($values, [
'notFoundHandler' => function () {
return function () {
**throw new UnauthorizedException('Unauthorized request');**
Based off of the error / line & function its advising it cant create a new project but what does that have to do with /auth/login?
I'm lost🥴 lol!! - let me know if this should be posted in Support or another post within this section
Any help is appreciated! ✌🖤