Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

Directus

65 Topics 644 Posts
  • Directus 9 : sample NodeJS scripts?

    5
    0 Votes
    5 Posts
    2k Views
    ?
    @timconsidine ah so you’re working on auth. I haven’t done any auth stuff in there yet but I can give it a shot at some point here. As for that script, idk I haven’t used their SDK ever. My use case involved publicly readable data so I just make a basic get request to there using the axios library
  • Directus + Gridsome

    11
    1 Votes
    11 Posts
    4k Views
    P
    @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 [image: 1607303845710-9c869a58-77a2-4ca5-8fb0-88d3607d75c6-image-resized.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!
  • Multiple projects / multi-tenancy

    8
    0 Votes
    8 Posts
    4k Views
    robiR
    so we could request upstream that they allow for customizing the table prefixes to make this less rigid.
  • The Directus docs mention Grav

    Solved
    2
    1
    0 Votes
    2 Posts
    538 Views
    girishG
    Thanks! Fixed.
  • Password Reset needs sendmail configuring it seems

    4
    1
    0 Votes
    4 Posts
    863 Views
    marcusquinnM
    @girish Thanks. Confirmed Solved.