You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to figure out how to do auth with define access. It seems only two fields are give username and password which is really confusing and really limits the usage of sdk at it is in the beta stages.
Here is an example in typescript
// With Record Accessconsttoken=awaitdb.signup({namespace: 'surrealdb',database: 'docs',access: 'account',// Also pass any properties required by the access definitionvariables: {email: '[email protected]',pass: '123456',},});
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
The text was updated successfully, but these errors were encountered:
Description
I have been trying to figure out how to do auth with define access. It seems only two fields are give username and password which is really confusing and really limits the usage of sdk at it is in the beta stages.
Here is an example in typescript
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: