Coder Social home page Coder Social logo

Comments (16)

Manjit2003 avatar Manjit2003 commented on May 29, 2024 2

@bahdcoder Thanks for ultra fast reply .... Will be eagerly waiting

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

Did anyone else manage to solve this issue? Actually its quite urgent as of now...

from tensei.

bahdcoder avatar bahdcoder commented on May 29, 2024

Hello. I actually worked and resolved this. Can you upgrade to the latest versions ? Let me know if it works out. It should.

So sorry for the long break. I'm back now and a team will be joining 🙏

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

@bahdcoder Isn't 0.8.4 the latest version? If not so can you please guide me a little 🤏🏻.. It would be great
Thanks for reply

from tensei.

bahdcoder avatar bahdcoder commented on May 29, 2024

Yes that's the latest. Still getting an error ? Please share it 🙏

from tensei.

bahdcoder avatar bahdcoder commented on May 29, 2024

Also you'd have to delete that admin user and create a new one again.

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

Steps to reproduce :

  1. Create a tensei app with following code:
const { cms } = require("@tensei/cms");
const { auth } = require("@tensei/auth");
const { media, files, file } = require("@tensei/media");
const { graphql } = require("@tensei/graphql");
const {
  tensei,
  welcome,
  resource,
  text,
  integer,
  hasOne,
  textarea,
  belongsTo,
  belongsToMany,
  hasMany,
  date,
} = require("@tensei/core");

tensei()
  .root(__dirname)
  .plugins([
    welcome(),
    cms().plugin(),
    media().plugin(),
    auth()
      .rolesAndPermissions()
      .plugin(),
    graphql().plugin(),
  ])
  .databaseConfig({
    type: "mongo",
    dbName: "khelo_ka_raja",
    clientUrl:
      "mongodb+srv://mystring",
  })
  .start()

  .catch(console.error);
  1. Goto http://localhost:8810/cms it will ask you to create a new admin.
  2. Enter your email and click the link it sent you.
  3. Upon clicking the link, It will redirect you to http://localhost:8810/cms/auth/login.
  4. Then if you enter your email there, then it will again send you a magic link.
  5. Then upon clicking the magic link, you will be again redirected to http://localhost:8810/cms/auth/login.
  6. This keeps recurring...

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

Still unable to login even after flushing the whole DB also tried by deleting admin user

from tensei.

bahdcoder avatar bahdcoder commented on May 29, 2024

Thank you for sharing. I'll have a look again as soon as I can.

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

Thanks, will be eagerly waiting...

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

@bahdcoder were you able to reproduce the issue??

Thanks

from tensei.

bahdcoder avatar bahdcoder commented on May 29, 2024

Yes I was. Still trying to find a solution. Working on it today 🙏

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

@bahdcoder any update brother? Actually, this was quite urgent...
Thanks

from tensei.

bahdcoder avatar bahdcoder commented on May 29, 2024

@Manjit2003 so sorry this is taking long. I found the bug, but its a crazy one and I can't seem to figure out how to fix. Its only affecting mongodb and its really weird. sorry its delayed you and your goals.

I'll keep working on fixing it.

from tensei.

bahdcoder avatar bahdcoder commented on May 29, 2024

@Manjit2003 finally found the bug and fixed it. Was a problem with one of our internal packages. Error should be fixed now. Thank you very much for your patience 🎉

from tensei.

Manjit2003 avatar Manjit2003 commented on May 29, 2024

Thank you very much brother for your help 🙏... You have done an excellent job and it means a lot to us... Keep it up and all the best for future

from tensei.

Related Issues (20)

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.