Hi,
first of all, thank you so much for the work on this repo,
as the title says, I integrated the button in a react application, all is working fine, but when it comes to adding the AgID IDP for validation (https://validator.spid.gov.it/) using the extraProviders configuration option turns Every IDP button (including the new one) unclickable.
Any suggestions on how to fix? is the configuration (down here) i'm using wrong by any means?
The issue seems occuring in ProvidersModal.tsx, line 174 the function isProviderActive correctly acknowledges that the idp is an extra provider, BUT the first theck supported.indexOf(idp.entityID) returns false.
supported is a list of entities that are registered Identity Providers (e.g. list at time of writing):
Hi, first of all, thank you so much for the work on this repo, as the title says, I integrated the button in a react application, all is working fine, but when it comes to adding the AgID IDP for validation (https://validator.spid.gov.it/) using the
extraProviders
configuration option turns Every IDP button (including the new one) unclickable.Any suggestions on how to fix? is the configuration (down here) i'm using wrong by any means?
Edit: Did some digging...
The issue seems occuring in ProvidersModal.tsx, line 174 the function
isProviderActive
correctly acknowledges that the idp is an extra provider, BUT the first thecksupported.indexOf(idp.entityID)
returns false.supported is a list of entities that are registered Identity Providers (e.g. list at time of writing):
Obviously, my extra provider is NOT on the list, hence why the
isProviderActive
function returns false even when the provider is a custom one.