Skip to content

Cypher $auth.jwt.sub in cypher does not work anymore #3772

@eriklueth

Description

@eriklueth

Describe the bug
In the new beta it looks like you cant use $auth.jwt.sub inside the cypher directive anymore. It seems like you now have to use $jwt.sub now instead and the auth is object is gone.

    # This works
    testCypherNoAuth: String! @cypher(statement: "Match (this) return $jwt.sub as result", columnName: "result")
    # This not
    testCypherAuth: String! @cypher(statement: "Match (this) return $auth.jwt.sub as result", columnName: "result")

Expected behavior
Keep old auth object or update the docs.

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