Merge branch 'main' into bump-changelog

This commit is contained in:
Susmitha Girumala authored and GitHub committed 2021-04-14 17:03:51 -04:00
commit 59dee87141
6 files changed
+22 -3

No files matched your search

@@ -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
+10 -1
View File
@@ -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();
}
}
@@ -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);
}
/**
@@ -7,6 +7,14 @@
@heading={{t "auth.titles.flow-error"}}
>
{{t "auth.descriptions.flow-error"}}
<br>
<Copyable
@text={{@model}}
@buttonText={{t "actions.copy-error-detail-to-clipboard"}}
@acknowledgeText={{t "states.copied"}}
>
{{t "actions.copy-error-detail-to-clipboard"}}
</Copyable>
</Rose::Notification>
</Rose::Layout::Centered>
</main>
+1
View File
@@ -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
@@ -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);
}
/**