-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
While the full login service is developed, I would appreciate it if we could have a basic auth setup for Villus based on default creds. Run the below function and then set context in Villus. Although I'm struggling to set the context after getting the token.
async function logInto() {
const logData = await useMutation(LoginDocument).execute({
email: 'admin@example.com',
password: 'changeme',
});
// Code to set context on Villus client for future requests.
}
logInto();Metadata
Metadata
Assignees
Labels
No labels