Skip to content

Bug: Authentication with Namespace is not working #137

@4F2E4A2E

Description

@4F2E4A2E

Describe the bug

There was a problem with the database: There was a problem with authentication

Steps to reproduce

db = AsyncSurrealDB(url=url)
await db.connect()
await db.use(namespace=namespace, database=database)
await db.sign_in(username=user, password=password)


# prior to v0.4.1: db.signin({"user": user, "pass": password, "NS": namespace})

Expected behaviour

Connect.

SurrealDB version

surrealpypi v0.4.1

surrealdb.py version

surrealpypi v0.4.1

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions