We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 875d4db commit 9f76232Copy full SHA for 9f76232
1 file changed
README.md
@@ -27,6 +27,38 @@ php artisan serve
27
28
Access [the GraphiQL UI](https://github.com/graphql/graphiql/blob/main/packages/graphiql/README.md) at `/graphiql`.
29
30
+In order to log in through Sanctum, find out the email of the seeded user:
31
+
32
+```graphql
33
+{
34
+ users {
35
+ data {
36
+ email
37
+ }
38
39
+}
40
+```
41
42
+Then, log in with the following mutation:
43
44
45
+mutation {
46
+ login(email: "<email>", password: "password") {
47
+ id
48
49
50
51
52
+To validate you are in fact logged in, run the following query:
53
54
55
56
+ me {
57
58
59
60
61
62
## Minimalism
63
64
In order to keep maintenance as simple as possible,
0 commit comments