diff --git a/sync/routes.go b/sync/routes.go index 73fce833..c04ae8a9 100644 --- a/sync/routes.go +++ b/sync/routes.go @@ -57,6 +57,7 @@ func Router() chi.Router { r.Method("GET", "/configuration/user/add", authenticatedHandler(getRoot)) r.Method("GET", "/intelligence", authenticatedHandler(getRoot)) r.Method("GET", "/operations", authenticatedHandler(getRoot)) + r.Method("GET", "/oauth/refresh/arcgis", authenticatedHandler(getRoot)) r.Method("GET", "/planning", authenticatedHandler(getRoot)) r.Method("GET", "/review", authenticatedHandler(getRoot)) r.Method("GET", "/review/pool", authenticatedHandler(getRoot)) @@ -73,7 +74,6 @@ func Router() chi.Router { r.Method("GET", "/layout-test", authenticatedHandler(getLayoutTest)) r.Method("GET", "/message", authenticatedHandler(getMessageList)) r.Method("GET", "/notification", authenticatedHandler(getNotificationList)) - r.Method("GET", "/oauth/refresh", authenticatedHandler(getOAuthRefresh)) r.Method("GET", "/parcel", authenticatedHandler(getParcel)) r.Method("GET", "/pool", authenticatedHandler(getPoolList)) r.Method("GET", "/pool/create", authenticatedHandler(getPoolCreate)) diff --git a/ts/router.ts b/ts/router.ts index 6bf26e67..c263e8d3 100644 --- a/ts/router.ts +++ b/ts/router.ts @@ -12,6 +12,7 @@ import ConfigurationRoot from "./view/configuration/Root.vue"; import ConfigurationUser from "./view/configuration/User.vue"; import ConfigurationUserAdd from "./view/configuration/UserAdd.vue"; import Intelligence from "./view/Intelligence.vue"; +import OAuthRefreshArcgis from "./view/OAuthRefreshArcgis.vue"; import Operations from "./view/Operations.vue"; import Planning from "./view/Planning.vue"; import Review from "./view/Review.vue"; @@ -73,6 +74,11 @@ const routes: RouteRecordRaw[] = [ name: "Intelligence", component: Intelligence, }, + { + path: "/oauth/refresh/arcgis", + name: "Arcgis OAuth Refresh", + component: OAuthRefreshArcgis, + }, { path: "/operations", name: "Operations", diff --git a/ts/view/OAuthRefreshArcgis.vue b/ts/view/OAuthRefreshArcgis.vue new file mode 100644 index 00000000..a5601f25 --- /dev/null +++ b/ts/view/OAuthRefreshArcgis.vue @@ -0,0 +1,147 @@ + + + + + + + diff --git a/ts/view/configuration/Integration.vue b/ts/view/configuration/Integration.vue index a4bcfe72..dfae52c9 100644 --- a/ts/view/configuration/Integration.vue +++ b/ts/view/configuration/Integration.vue @@ -76,9 +76,11 @@
- - Refresh OAuth Token - + + +