diff --git a/front/src/components/auth/ApplicationEdit.vue b/front/src/components/auth/ApplicationEdit.vue index 2b90d2e85..b4a0b3735 100644 --- a/front/src/components/auth/ApplicationEdit.vue +++ b/front/src/components/auth/ApplicationEdit.vue @@ -26,6 +26,14 @@ +
+ + + + + Regenerate token + +

Edit application @@ -68,6 +76,12 @@ export default { self.errors = error.backendErrors }) }, + async refreshToken () { + self.isLoading = true + let response = await axios.post(`oauth/apps/${this.id}/refresh-token`) + this.application = response.data + self.isLoading = false + } }, computed: { labels() {