Plug sign in steps + sso login URL check
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<02b9c661a564d47f4821ff67a4dae9b0>>
|
||||
* @generated SignedSource<<f242c4003408e8b86541c8f98b2c6d18>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -13,19 +13,19 @@ export type SignInInput = {
|
||||
email: string;
|
||||
password: string;
|
||||
};
|
||||
export type SignInPageMutation$variables = {
|
||||
export type PasswordSignInPageMutation$variables = {
|
||||
input: SignInInput;
|
||||
};
|
||||
export type SignInPageMutation$data = {
|
||||
export type PasswordSignInPageMutation$data = {
|
||||
readonly signIn: {
|
||||
readonly session: {
|
||||
readonly id: string;
|
||||
} | null | undefined;
|
||||
} | null | undefined;
|
||||
};
|
||||
export type SignInPageMutation = {
|
||||
response: SignInPageMutation$data;
|
||||
variables: SignInPageMutation$variables;
|
||||
export type PasswordSignInPageMutation = {
|
||||
response: PasswordSignInPageMutation$data;
|
||||
variables: PasswordSignInPageMutation$variables;
|
||||
};
|
||||
|
||||
const node: ConcreteRequest = (function(){
|
||||
@@ -78,7 +78,7 @@ return {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Fragment",
|
||||
"metadata": null,
|
||||
"name": "SignInPageMutation",
|
||||
"name": "PasswordSignInPageMutation",
|
||||
"selections": (v1/*: any*/),
|
||||
"type": "Mutation",
|
||||
"abstractKey": null
|
||||
@@ -87,20 +87,20 @@ return {
|
||||
"operation": {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Operation",
|
||||
"name": "SignInPageMutation",
|
||||
"name": "PasswordSignInPageMutation",
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "8e13b6ebdfd4ca6bde158dff53f596db",
|
||||
"cacheID": "f60c1dcde17bef06ff8170d14c077dae",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "SignInPageMutation",
|
||||
"name": "PasswordSignInPageMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation SignInPageMutation(\n $input: SignInInput!\n) {\n signIn(input: $input) {\n session {\n id\n }\n }\n}\n"
|
||||
"text": "mutation PasswordSignInPageMutation(\n $input: SignInInput!\n) {\n signIn(input: $input) {\n session {\n id\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "6424104df106b64a6237d92299239a63";
|
||||
(node as any).hash = "9b9b3de59d38ae7c288348c6bfc01afa";
|
||||
|
||||
export default node;
|
||||
83
apps/console/src/__generated__/iam/SSOSignInPageQuery.graphql.ts
generated
Normal file
83
apps/console/src/__generated__/iam/SSOSignInPageQuery.graphql.ts
generated
Normal file
@@ -0,0 +1,83 @@
|
||||
/**
|
||||
* @generated SignedSource<<44e9b1516c9cd0ae8419f326791e09e1>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
import { ConcreteRequest } from 'relay-runtime';
|
||||
import { Result } from "relay-runtime";
|
||||
export type SSOSignInPageQuery$variables = {
|
||||
email: string;
|
||||
};
|
||||
export type SSOSignInPageQuery$data = {
|
||||
readonly ssoLoginURL: Result<string | null | undefined, unknown>;
|
||||
};
|
||||
export type SSOSignInPageQuery = {
|
||||
response: SSOSignInPageQuery$data;
|
||||
variables: SSOSignInPageQuery$variables;
|
||||
};
|
||||
|
||||
const node: ConcreteRequest = (function(){
|
||||
var v0 = [
|
||||
{
|
||||
"defaultValue": null,
|
||||
"kind": "LocalArgument",
|
||||
"name": "email"
|
||||
}
|
||||
],
|
||||
v1 = {
|
||||
"alias": null,
|
||||
"args": [
|
||||
{
|
||||
"kind": "Variable",
|
||||
"name": "email",
|
||||
"variableName": "email"
|
||||
}
|
||||
],
|
||||
"kind": "ScalarField",
|
||||
"name": "ssoLoginURL",
|
||||
"storageKey": null
|
||||
};
|
||||
return {
|
||||
"fragment": {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Fragment",
|
||||
"metadata": null,
|
||||
"name": "SSOSignInPageQuery",
|
||||
"selections": [
|
||||
{
|
||||
"kind": "CatchField",
|
||||
"field": (v1/*: any*/),
|
||||
"to": "RESULT"
|
||||
}
|
||||
],
|
||||
"type": "Query",
|
||||
"abstractKey": null
|
||||
},
|
||||
"kind": "Request",
|
||||
"operation": {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Operation",
|
||||
"name": "SSOSignInPageQuery",
|
||||
"selections": [
|
||||
(v1/*: any*/)
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "9b7766bbd9f160dc8bbcf34705641486",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "SSOSignInPageQuery",
|
||||
"operationKind": "query",
|
||||
"text": "query SSOSignInPageQuery(\n $email: EmailAddr!\n) {\n ssoLoginURL(email: $email)\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "5749c48e67881c71bbc99a9e1120767f";
|
||||
|
||||
export default node;
|
||||
Reference in New Issue
Block a user