|
| 1 | +{ |
| 2 | + "create": { |
| 3 | + "form": { |
| 4 | + "fields": [ |
| 5 | + { |
| 6 | + "id": "application-name", |
| 7 | + "aria-label": "Application Name", |
| 8 | + "name": "name", |
| 9 | + "label": "Name", |
| 10 | + "type": "text", |
| 11 | + "required": true, |
| 12 | + "placeholder": "My App", |
| 13 | + "dataComponentId": "vue-create-wizard-application-name", |
| 14 | + "handlers": [ |
| 15 | + { |
| 16 | + "name": "uniqueApplicationName", |
| 17 | + "type": "initialize" |
| 18 | + }, |
| 19 | + { |
| 20 | + "name": "applicationName", |
| 21 | + "type": "validation" |
| 22 | + } |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + "id": "callback-url", |
| 27 | + "aria-label": "Authorized Redirect URL", |
| 28 | + "name": "inboundProtocolConfiguration.oidc.callbackURLs.[0]", |
| 29 | + "label": "Authorized Redirect URL", |
| 30 | + "type": "text", |
| 31 | + "required": true, |
| 32 | + "placeholder": "https://myapp.io/login", |
| 33 | + "dataComponentId": "vue-create-wizard-callback-url" |
| 34 | + }, |
| 35 | + { |
| 36 | + "id": "image-url", |
| 37 | + "aria-label": "Image URL", |
| 38 | + "name": "imageUrl", |
| 39 | + "label": "Image URL", |
| 40 | + "type": "text", |
| 41 | + "required": false, |
| 42 | + "dataComponentId": "vue-create-wizard-image-url", |
| 43 | + "hidden": true, |
| 44 | + "handlers": [ |
| 45 | + { |
| 46 | + "name": "dependentProperty", |
| 47 | + "type": "submission", |
| 48 | + "props": { |
| 49 | + "placeholder": "clientOrigin" |
| 50 | + } |
| 51 | + }, |
| 52 | + { |
| 53 | + "name": "dependentProperty", |
| 54 | + "type": "submission", |
| 55 | + "props": { |
| 56 | + "placeholder": "appBaseNameWithoutTenant" |
| 57 | + } |
| 58 | + } |
| 59 | + ] |
| 60 | + } |
| 61 | + ] |
| 62 | + }, |
| 63 | + "guide": [ "##### Name\n***\n***\nA unique name to identify your application.\n***\nE.g., Vue\n***\n***\n***\n***\n##### Authorized Redirect URL\n***\n***\nThe URL to which the authorization code is sent to upon authentication and where the user is redirected to upon logout.\n***\nE.g., https://myapp.io/login" ] |
| 64 | + }, |
| 65 | + "edit": { |
| 66 | + "tabs": [ |
| 67 | + { |
| 68 | + "id": "quick-start", |
| 69 | + "displayName": "Guide", |
| 70 | + "contentType": "guide", |
| 71 | + "guide": "### Configure the `<AsgardeoProvider />`\n***\n***\n***\n> > To connect ${productName} with your Vue application, follow the [Vue SDK Quick Start](${docSiteURL}/quick-starts/vue/).\n> <!--rehype:type=info-->\n<!--rehype:type=wrapper&indent=6-->\n***\n***\n> Register the `AsgardeoPlugin` and wrap your app with `<AsgardeoProvider />` using the following configuration.\n<!--rehype:type=wrapper&indent=6-->\n***\n***\n> **`src/main.ts`**\n> ```ts\n> import { createApp } from 'vue'\n> import './style.css'\n> import App from './App.vue'\n> import { AsgardeoPlugin } from '@asgardeo/vue'\n>\n> const app = createApp(App)\n> app.use(AsgardeoPlugin)\n> app.mount('#app')\n> ```\n> ***\n> **`src/App.vue`**\n> ```vue\n> <script setup>\n> import { AsgardeoProvider } from '@asgardeo/vue'\n> </script>\n>\n> <template>\n> <AsgardeoProvider\n> client-id=\"${protocol.oidc.clientId}\"\n> base-url=\"${serverOrigin}/t/${tenantDomain}\"\n> :scopes=\"'${moderatedData.scopes.spaceSeperatedList}'.split(' ')\"\n> >\n> <!-- Your application content goes here -->\n> </AsgardeoProvider>\n> </template>\n> ```\n<!--rehype:type=wrapper&indent=6-->\n***\n***\n***\n***\n### Configurations\n***\n***\n***\n> For more details on configurations and server endpoints, go to the [Protocol](#tab=protocol)<!--rehype:external=false--> and [Info](#tab=info)<!--rehype:external=false--> tabs, respectively.\n> ***\n> ***\n> ***\n> **Client ID:**\n> ***\n> ```bash\n> ${protocol.oidc.clientId}\n> ```\n> ***\n> **Base URL:**\n> ***\n> ```bash\n> ${serverOrigin}/t/${tenantDomain}\n> ```\n> ***\n> **Redirect URL:**\n> ***\n> ```bash\n> ${protocol.oidc.callbackURLs[0]}\n> ```\n> ***\n> **Scope:**\n> ***\n> ```bash\n> ${moderatedData.scopes.spaceSeperatedList}\n> ```\n<!--rehype:type=wrapper&indent=6-->\n***\n***" |
| 72 | + }, |
| 73 | + { |
| 74 | + "id": "general", |
| 75 | + "hiddenComponents": [ |
| 76 | + "application-edit-general-details-form-image-url" |
| 77 | + ] |
| 78 | + }, |
| 79 | + { |
| 80 | + "id": "protocol", |
| 81 | + "displayName": "Protocol", |
| 82 | + "hiddenComponents": [ |
| 83 | + "application-edit-access-settings-inbound-oauth2-oidc-form-pushed-authorization-requests", |
| 84 | + "application-edit-access-settings-inbound-oauth2-oidc-form-request-object", |
| 85 | + "application-edit-access-settings-inbound-oauth2-oidc-form-validate-token-binding", |
| 86 | + "application-edit-access-settings-inbound-oauth2-oidc-form-revoke-access-token-upon-user-logout", |
| 87 | + "application-edit-access-settings-inbound-oauth2-oidc-form-id-token-encryption", |
| 88 | + "application-edit-access-settings-inbound-oauth2-oidc-form-id-token-encryption-algorithm", |
| 89 | + "application-edit-access-settings-inbound-oauth2-oidc-form-id-token-encryption-method", |
| 90 | + "application-edit-access-settings-inbound-oauth2-oidc-form-id-token-response-signing-algorithm", |
| 91 | + "application-edit-access-settings-inbound-oauth2-oidc-form-logout-urls", |
| 92 | + "application-edit-access-settings-inbound-oauth2-oidc-form-client-authentication", |
| 93 | + "application-edit-access-settings-inbound-oauth2-oidc-form-validate-token-binding-and-revokation", |
| 94 | + "application-edit-access-settings-inbound-oauth2-oidc-form-certificate" |
| 95 | + ] |
| 96 | + }, |
| 97 | + { |
| 98 | + "id": "user-attributes" |
| 99 | + }, |
| 100 | + { |
| 101 | + "id": "sign-in-method" |
| 102 | + }, |
| 103 | + { |
| 104 | + "id": "api-authorization" |
| 105 | + }, |
| 106 | + { |
| 107 | + "id": "application-roles" |
| 108 | + }, |
| 109 | + { |
| 110 | + "id": "provisioning" |
| 111 | + }, |
| 112 | + { |
| 113 | + "id": "advanced", |
| 114 | + "hiddenComponents": [ |
| 115 | + "application-edit-advanced-settings-form-client-attestation", |
| 116 | + "application-edit-advanced-settings-form-trusted-apps", |
| 117 | + "application-edit-advanced-settings-form-platform-settings", |
| 118 | + "application-edit-advanced-settings-form-application-native-authentication" |
| 119 | + ] |
| 120 | + }, |
| 121 | + { |
| 122 | + "id": "shared-access" |
| 123 | + }, |
| 124 | + { |
| 125 | + "id": "info" |
| 126 | + } |
| 127 | + ], |
| 128 | + "defaultActiveTabId": "quick-start" |
| 129 | + } |
| 130 | +} |
0 commit comments