Coder Social home page Coder Social logo

directus-starter's Introduction

StandWithPalestine

Ceasefire Now

directus-starter's People

Contributors

becem-gharbi avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

directus-starter's Issues

Question: callback on SSO

Hi!

Thanks for this starter!!

Quick question: if SSO signin is successful it is redirected to the callback.vue component. However, that component does nothing as far as I'm concerned. What should it do?

Regards,

Kees.

Can't run starter project

Hi! I can't run your starter project. I suspect it is an issue in your naiveui module, but unsure.

When I run pnpm dev I get this stack:

 ERROR  Cannot read properties of undefined (reading 'push')                                                                                                         1:30:49 PM

  at prepare:types (node_modules/.pnpm/@[email protected]/node_modules/@bg-dev/nuxt-naiveui/dist/module.mjs:27:38)
  at node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:48:66
  at Object.run (node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:41:43)
  at node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:48:56
  at async writeTypes (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit/dist/index.mjs:2872:3)
  at async Object.run (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/prepare.mjs:70:5)
  at async runCommand$1 (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1644:5)
  at async runCommand$1 (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1638:7)
  at async runMain$1 (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1756:7) 



 ERROR  Cannot read properties of undefined (reading 'push')                                                                                                         1:30:49 PM


 ERROR  Command failed with exit code 1.

date-fns-tz issue

Hi, i'm getting the error:

ERROR Cannot start nuxt: Missing "./esm/formatInTimeZone" specifier in "date-fns-tz" package

After running npm install and then npm run dev.
Any idea what is causing this?

Authentication fails every-time the page is refreshed

This might be a misconfiguration on my end but I could not find anything straight-forward to guide.


Issue Description:

When using Directus with a separate front-end application (this starter template), I encountered an issue where upon refreshing the page after login, I am redirected back to the login screen.

Expected Behavior:

After successful login, I expect to remain authenticated and not be redirected to the login screen upon page refresh.

Actual Behavior:

After logging in and refreshing the page, the authentication state is not persisted, and I am redirected to the login screen again.
At this point, the refresh cookie that was set is removed/deleted and login status set to false

Steps to Reproduce:

  1. Set up a Directus instance on a VPS.
  2. Develop a separate front-end application that interacts with the Directus API for authentication and data management.
  3. Log in to the front-end application.
  4. Refresh the page.

Additional Context:

  • I've tried adjusting the session and cookie settings in the Directus environment, but the issue persists.
  • I'm experiencing this problem both in my local development environment (localhost) and on the hosted domain.
  • The issue occurs consistently across different browsers and projects

Environment:

  • Directus version:10.8.3 and 10.9.3
  • Front-end framework/library: Nuxt 3, nuxt-directus

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.