-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.json
More file actions
130 lines (130 loc) · 7.17 KB
/
metadata.json
File metadata and controls
130 lines (130 loc) · 7.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"create": {
"form": {
"fields": [
{
"id": "application-name",
"aria-label": "Application Name",
"name": "name",
"label": "Name",
"type": "text",
"required": true,
"placeholder": "My App",
"dataComponentId": "vue-create-wizard-application-name",
"handlers": [
{
"name": "uniqueApplicationName",
"type": "initialize"
},
{
"name": "applicationName",
"type": "validation"
}
]
},
{
"id": "callback-url",
"aria-label": "Authorized Redirect URL",
"name": "inboundProtocolConfiguration.oidc.callbackURLs.[0]",
"label": "Authorized Redirect URL",
"type": "text",
"required": true,
"placeholder": "https://myapp.io/login",
"dataComponentId": "vue-create-wizard-callback-url"
},
{
"id": "image-url",
"aria-label": "Image URL",
"name": "imageUrl",
"label": "Image URL",
"type": "text",
"required": false,
"dataComponentId": "vue-create-wizard-image-url",
"hidden": true,
"handlers": [
{
"name": "dependentProperty",
"type": "submission",
"props": {
"placeholder": "clientOrigin"
}
},
{
"name": "dependentProperty",
"type": "submission",
"props": {
"placeholder": "appBaseNameWithoutTenant"
}
}
]
}
]
},
"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" ]
},
"edit": {
"tabs": [
{
"id": "quick-start",
"displayName": "Guide",
"contentType": "guide",
"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***"
},
{
"id": "general",
"hiddenComponents": [
"application-edit-general-details-form-image-url"
]
},
{
"id": "protocol",
"displayName": "Protocol",
"hiddenComponents": [
"application-edit-access-settings-inbound-oauth2-oidc-form-pushed-authorization-requests",
"application-edit-access-settings-inbound-oauth2-oidc-form-request-object",
"application-edit-access-settings-inbound-oauth2-oidc-form-validate-token-binding",
"application-edit-access-settings-inbound-oauth2-oidc-form-revoke-access-token-upon-user-logout",
"application-edit-access-settings-inbound-oauth2-oidc-form-id-token-encryption",
"application-edit-access-settings-inbound-oauth2-oidc-form-id-token-encryption-algorithm",
"application-edit-access-settings-inbound-oauth2-oidc-form-id-token-encryption-method",
"application-edit-access-settings-inbound-oauth2-oidc-form-id-token-response-signing-algorithm",
"application-edit-access-settings-inbound-oauth2-oidc-form-logout-urls",
"application-edit-access-settings-inbound-oauth2-oidc-form-client-authentication",
"application-edit-access-settings-inbound-oauth2-oidc-form-validate-token-binding-and-revokation",
"application-edit-access-settings-inbound-oauth2-oidc-form-certificate"
]
},
{
"id": "user-attributes"
},
{
"id": "sign-in-method"
},
{
"id": "api-authorization"
},
{
"id": "application-roles"
},
{
"id": "provisioning"
},
{
"id": "advanced",
"hiddenComponents": [
"application-edit-advanced-settings-form-client-attestation",
"application-edit-advanced-settings-form-trusted-apps",
"application-edit-advanced-settings-form-platform-settings",
"application-edit-advanced-settings-form-application-native-authentication"
]
},
{
"id": "shared-access"
},
{
"id": "info"
}
],
"defaultActiveTabId": "quick-start"
}
}