query

platformConfig

Retrieve platform sales channel authentication configuration.
Arguments
name
String
Name of the application, e.g. Fynd.
Response
Unique document id of the platform config.
active
Boolean
Is the application config active or not.
created_at
String
When was the application platform config document was created.
delete_account_consent
DeleteAccountConsent
Any consent you want a user to know while deleting the account.
delete_account_day
Int
Number of days after which the user account will be deleted.
delete_account_reasons
[DeleteAccountReasons]
List of reasons you can set to ask the user when an account is being deleted from the application.
desktop_image
String
Image to be shown on registration page for desktop devices.
display
String
The display name of the platform.
flash_card
FlashCard
Information of the flashcard like text colour, text and background color of text.
forgot_password
Boolean
Forgot password option to be given or not to application user.
login
Login
Login option to be provided with password or OTP either both.
look_and_feel
LookAndFeel
The look and feel configuration of the platform.
Additional information for platform config.
mobile_image
String
Image to be shown on registration page for mobile devices.
name
String
Name of the application.
register
Boolean
Whether to show the registration page on landing page or not.
register_required_fields
RegisterRequiredFields
Information which fields are mandatory for application eg is email mandatory or phone number mandatory or either both of them are mandatory.
required_fields
RequiredFields
Information which fields are mandatory for application eg is email mandatory or phone number mandatory or either both of them are mandatory.
session_config
SessionExpiry
Contains session config formation like is session rolling, if yes then number of days or hours till session gets rolled .
skip_captcha
Boolean
Skip the captcha or not.
skip_login
Boolean
Whether to skip the login or not.
social
Social
Information whether application social logins like facebook, google etc are enabled or disabled.
social_tokens
SocialTokens
Application credentials like client id and secret for social logins.
subtext
String
Text to be shown at the top of the flash card like login to fynd, login to tira.
updated_at
String
The date and time when the configuration was last updated.
version
Float
Version of the document.
Query
1query platformConfig($name: String) {
2 platformConfig(name: $name) {
3 id
4 active
5 created_at
6 delete_account_consent {
7 consent_text
8 }
9 delete_account_day
10 delete_account_reasons {
11 reason_id
12 reason_text
13 show_text_area
14 }
15 desktop_image
16 display
17 flash_card {
18 background_color
19 text
20 text_color
21 }
22 forgot_password
23 login {
24 otp
25 password
26 }
27 look_and_feel {
28 background_color
29 card_position
30 }
31 meta {
32 fynd_default
33 }
34 mobile_image
35 name
36 register
37 session_config {
38 duration
39 type
40 is_rolling
41 }
42 skip_captcha
43 skip_login
44 social {
45 account_kit
46 apple
47 facebook
48 google
49 }
50 subtext
51 updated_at
52 version
53 }
54}
Try it
Input Variables
1{
2 "name": "A name"
3}
Response
1{
2 "platformConfig": {
3 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
4 "active": true,
5 "created_at": "created_at",
6 "delete_account_consent": {
7 "consent_text": "consent_text"
8 },
9 "delete_account_day": 42,
10 "delete_account_reasons": [
11 {
12 "reason_id": "reason_id",
13 "reason_text": "reason_text",
14 "show_text_area": true
15 }
16 ],
17 "desktop_image": "desktop_image",
18 "display": "display",
19 "flash_card": {
20 "background_color": "background_color",
21 "text": "text",
22 "text_color": "text_color"
23 },
24 "forgot_password": true,
25 "login": {
26 "otp": true,
27 "password": true
28 },
29 "look_and_feel": {
30 "background_color": "background_color",
31 "card_position": "card_position"
32 },
33 "meta": {
34 "fynd_default": true
35 },
36 "mobile_image": "mobile_image",
37 "name": "A name",
38 "register": true,
39 "session_config": {
40 "duration": 42,
41 "type": "Minutes",
42 "is_rolling": true
43 },
44 "skip_captcha": true,
45 "skip_login": true,
46 "social": {
47 "account_kit": true,
48 "apple": true,
49 "facebook": true,
50 "google": true
51 },
52 "subtext": "subtext",
53 "updated_at": "updated_at",
54 "version": 30.7
55 }
56}