fix: 🐛 cannot retry oidc authentication in desktop & admin (#2512)
* fix: 🐛 cannot retry oidc authentication in desktop & admin ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15250
This commit is contained in:
1 parent
64e568bd72
commit
e807e1a3af
6 files changed
+18
-9
No files matched your search
@@ -3,12 +3,10 @@
|
||||
* SPDX-License-Identifier: BUSL-1.1
|
||||
*/
|
||||
|
||||
import Controller, { inject as controller } from '@ember/controller';
|
||||
import Controller from '@ember/controller';
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
export default class ScopesScopeAuthenticateMethodOidcController extends Controller {
|
||||
@controller('scopes/scope/authenticate/method/index') authMethod;
|
||||
|
||||
// =services
|
||||
|
||||
@service session;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<p>{{t 'resources.auth-method.messages.pending.description'}}</p>
|
||||
<p>
|
||||
{{t 'resources.auth-method.questions.no-see-window'}}
|
||||
<a href='#' role='button' {{on 'click' this.authMethod.authenticate}}>
|
||||
<a href={{this.authURL}} target='_blank' rel='noreferrer noopener'>
|
||||
{{t 'actions.retry'}}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -16,7 +16,6 @@ module(
|
||||
'controller:scopes/scope/authenticate/method/oidc',
|
||||
);
|
||||
assert.ok(controller);
|
||||
assert.ok(controller.authMethod);
|
||||
});
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user