feat: auth jwt, permissions, login ui (wip)

This commit is contained in:
Nicolas Giard
2018-10-08 00:17:31 -04:00
parent 563d1a4f98
commit 3abd2f917c
53 changed files with 550 additions and 438 deletions

View File

@@ -1,6 +1,6 @@
query {
authentication {
strategies(orderBy: "title ASC") {
strategies {
isEnabled
key
title

View File

@@ -7,6 +7,7 @@ mutation($username: String!, $password: String!, $strategy: String!) {
slug
message
}
jwt
tfaRequired
tfaLoginToken
}

View File

@@ -1,13 +1,14 @@
query {
authentication {
strategies(
filter: "isEnabled eq true",
orderBy: "title ASC"
isEnabled: true
) {
key
title
useForm
icon
color
selfRegistration
}
}
}