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/routes/scopes/scope/authenticate/method.js b/ui/admin/app/routes/scopes/scope/authenticate/method.js index 33dec88f9..2261c90f2 100644 --- a/ui/admin/app/routes/scopes/scope/authenticate/method.js +++ b/ui/admin/app/routes/scopes/scope/authenticate/method.js @@ -21,7 +21,7 @@ export default class ScopesScopeAuthenticateMethodRoute extends Route { */ model({ auth_method_id: id }) { const adapterOptions = { scopeID: this.modelFor('scopes.scope').id }; - return this.store.findRecord('auth-method', id, adapterOptions); + return this.store.peekRecord('auth-method', id, adapterOptions); } /** 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"}} + diff --git a/ui/desktop/CHANGELOG.md b/ui/desktop/CHANGELOG.md index 60c9f6fe7..fdfbe899f 100644 --- a/ui/desktop/CHANGELOG.md +++ b/ui/desktop/CHANGELOG.md @@ -6,6 +6,7 @@ Canonical reference for changes, improvements, and bugfixes for Boundary Desktop ### New +- OIDC authentication support. ([PR](https://github.com/hashicorp/boundary-ui/pull/429)) - Check for client updates and update on-demand using new menu option. ([PR](https://github.com/hashicorp/boundary-ui/pull/522)) ### Bug Fixes diff --git a/ui/desktop/app/routes/scopes/scope/authenticate/method.js b/ui/desktop/app/routes/scopes/scope/authenticate/method.js index 66fc52286..1b679119c 100644 --- a/ui/desktop/app/routes/scopes/scope/authenticate/method.js +++ b/ui/desktop/app/routes/scopes/scope/authenticate/method.js @@ -22,7 +22,7 @@ export default class ScopesScopeAuthenticateMethodRoute extends Route { */ model({ auth_method_id: id }) { const adapterOptions = { scopeID: this.modelFor('scopes.scope').id }; - return this.store.findRecord('auth-method', id, adapterOptions); + return this.store.peekRecord('auth-method', id, adapterOptions); } /**