diff --git a/addons/core/translations/actions/en-us.yaml b/addons/core/translations/actions/en-us.yaml index 2fd069dae..eccbad6eb 100644 --- a/addons/core/translations/actions/en-us.yaml +++ b/addons/core/translations/actions/en-us.yaml @@ -16,6 +16,7 @@ back: Back retry: Retry get-topic-help: Get help for this topic copy-to-clipboard: Copy to Clipboard +copy-error-detail-to-clipboard: Copy error detail to clipboard authenticate: Authenticate deauthenticate: Deauthenticate choose-org: Choose Scope diff --git a/ui/admin/app/routes/authentication-error.js b/ui/admin/app/routes/authentication-error.js index e7eba2739..382741c74 100644 --- a/ui/admin/app/routes/authentication-error.js +++ b/ui/admin/app/routes/authentication-error.js @@ -1,3 +1,12 @@ import Route from '@ember/routing/route'; -export default class AuthenticationErrorRoute extends Route {} +export default class AuthenticationErrorRoute extends Route { + // =methods + + /** + * @return {string} + */ + model() { + return window.location.toString(); + } +} diff --git a/ui/admin/app/templates/authentication-error.hbs b/ui/admin/app/templates/authentication-error.hbs index 477f35d3f..eac628eab 100644 --- a/ui/admin/app/templates/authentication-error.hbs +++ b/ui/admin/app/templates/authentication-error.hbs @@ -7,6 +7,14 @@ @heading={{t "auth.titles.flow-error"}} > {{t "auth.descriptions.flow-error"}} +
+ + {{t "actions.copy-error-detail-to-clipboard"}} +