Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non è possibile usare URL custom per il logo degli IdP aggiuntivi #87

Open
alranel opened this issue Dec 23, 2018 · 0 comments
Open

Non è possibile usare URL custom per il logo degli IdP aggiuntivi #87

alranel opened this issue Dec 23, 2018 · 0 comments
Labels

Comments

@alranel
Copy link
Member

alranel commented Dec 23, 2018

Configurando un URL assoluto nel parametro logo degli IdP aggiuntivi l'immagine non viene mostrata. Il problema è che viene trattato come URL relativo:

var buttonContent = idp.logo
? ['<img src="', SPID.assetsBaseUrl, 'img/idp-logos/', idp.logo, '" alt="', idp.entityName, '">'].join('')
: ['<span>', idp.entityName, '</span>'].join('');

Questa cosa ha senso per gli IdP ufficiali, i cui loghi sono presenti nel repository dello smart button, ma non per quelli aggiuntivi che saranno sicuramente su altri domini.

@alranel alranel added the bug label Dec 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant