Replace Rose::Dialog::Cover with HDS::ApplicationState (#2770)

* refactor: 💡 rose dialog cover with hds application state

* fix: 🐛 i18n key

* fix: 🐛 addressed comments

* fix: 🐛 CSP issue for svg

* docs: ✏️ added CSP issue context
This commit is contained in:
Priya Patel authored and GitHub committed 2025-04-18 12:42:18 -07:00
1 parent 8814e2eacb
commit c6a5f93b44
10 files changed
+271 -181

No files matched your search

@@ -13,19 +13,14 @@ export default class ScopesScopeAuthenticateMethodOidcController extends Control
// =services
@service session;
@service router;
// =actions
/**
* Retry by starting a new OIDC authentication flow.
* @param {object} e
*/
@action
async retryAuthentication(e) {
// TODO: This event handler can be removed when rose dialog gets
// refactored to use hds.
e.preventDefault();
async retryAuthentication() {
const scope = this.authMethod.scope;
const authenticatorName = `authenticator:${this.authMethod.type}`;
await this.authenticateMethod.startOIDCAuthentication(authenticatorName, {