feat: use create access token api endpoint instead of login mutation

This commit is contained in:
kasia.oczkowska
2024-07-18 13:05:59 +01:00
parent f63cc80383
commit d051275e54
9 changed files with 66 additions and 63 deletions

View File

@@ -18,7 +18,6 @@ type Mutation {
duplicateFlow(input: DuplicateFlowInput): Flow
executeFlow(input: ExecuteFlowInput): executeFlowType
generateAuthUrl(input: GenerateAuthUrlInput): AuthLink
login(input: LoginInput): Auth
registerUser(input: RegisterUserInput): User
resetConnection(input: ResetConnectionInput): Connection
updateAppAuthClient(input: UpdateAppAuthClientInput): AppAuthClient
@@ -152,11 +151,6 @@ enum ArgumentEnumType {
string
}
type Auth {
user: User
token: String
}
type AuthenticationStep {
type: String
name: String
@@ -403,11 +397,6 @@ input UpdateCurrentUserInput {
fullName: String
}
input LoginInput {
email: String!
password: String!
}
input PermissionInput {
action: String!
subject: String!