detect RAC differently

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2024-07-04 12:58:25 +02:00
parent 3abf1421a2
commit 8b0058ada0

View File

@ -90,7 +90,7 @@ export class LibraryApplication extends AKElement {
if (!this.application) {
return html``;
}
if (this.application?.launchUrl === "goauthentik.io://providers/rac/launch") {
if (this.application?.providerObj.component === "ak-provider-rac-form") {
return html`<ak-library-rac-endpoint-launch .app=${this.application}>
<a slot="trigger"> ${this.application.name} </a>
</ak-library-rac-endpoint-launch>`;