Is there a simple way to exchange the entry with OpenIdP with my own IdP
which operates in the same way? I'd like to have this IdP on the top of
the list of the IdPs, ideally on the second place after the most
probable one. I'm using DJ version from the SVN head.
Cheers,
Michal P.
--
Michal Prochazka // mic...@ics.muni.cz
CERIT-SC www.cerit.cz
Institute of Computer Science
Masaryk University
Botanicka 68a, 60200 Brno, CZ
CESNET z.s.p.o.
Zikova 4, 16200 Praha 6, CZ
> Hi all,
>
> Is there a simple way to exchange the entry with OpenIdP with my own IdP
> which operates in the same way? I'd like to have this IdP on the top of
> the list of the IdPs, ideally on the second place after the most
> probable one. I'm using DJ version from the SVN head.
A very good question, and I decided to write a very explicit section on this in the documentation:
See section 4 here:
http://discojuice.org/docs/latest/advanced-configuration
The 'inlinemetadata' option is a new option that I added now. However, I added it to the stable track of the hosted DiscoJuice, which means that you do not need to think about upgrading anything - it should just work … :)
I targeted the specific scenario of including an entry for Feide OpenIdP in the example.
Let me know if this did not was unclear or did not solve your problem.
Kind regards,
Andreas
Thanks for integrating this feature!
> Let me know if this did not was unclear or did not solve your problem.
If I choose advanced config, it ignores the parametr which specifies the
path to the discojuiceDiscoveryResponse.html, it uses
'/traditional/discovery'. Maybe I'm doing something wrong.
var djc = DiscoJuice.Hosted.getConfig(
"Atlases - HiRes Pathological Images",
"https://atlases.muni.cz/shibboleth",
"https://atlases.muni.cz/dj/discojuice/discojuiceDiscoveryResponse.html", ["cesnet",
"rediris", "kalmar", "arnes", "gakunin", "wayf", "aconet", "switch",
"surfnet2", "aaf", "garr", "surfnet", "renater", "dfn"],
"https://atlases.muni.cz/Shibboleth.sso/Login?target=https://atlases.muni.cz/en/sec/login.cgi&entityID="
);
...
When I use the simple config, everything goes well:
DiscoJuice.Hosted.setup(
"a.signon", "Atlases - HiRes Pathological Images",
"https://atlases.muni.cz/shibboleth",
"https://atlases.muni.cz/dj/discojuice/discojuiceDiscoveryResponse.html", ["cesnet",
"rediris", "kalmar", "arnes", "gakunin", "wayf", "aconet", "switch",
"surfnet2", "aaf", "garr", "surfnet", "renater", "dfn"],
"https://atlases.muni.cz/Shibboleth.sso/Login?target=https://atlases.muni.cz/en/sec/login.cgi&entityID="
);
Cheers,
Michal P.
> If I choose advanced config, it ignores the parametr which specifies the
> path to the discojuiceDiscoveryResponse.html, it uses
> '/traditional/discovery'. Maybe I'm doing something wrong.
If you setup the configuration this way, I may have a look at and see if I can figure out what is wrong :)
Andreas
Cheers,
Michal P.
> If I choose advanced config, it ignores the parametr which specifies the
> path to the discojuiceDiscoveryResponse.html, it uses
> '/traditional/discovery'. Maybe I'm doing something wrong.
Ah…
Everything in my example was packed inside (even though I did not include it in the doc - I'll fix that)
$(document).ready(function() {
….
});
You need to wrap at least this:
$(document).ready(function() {
$("a.signon").DiscoJuice(djc);
});
Try and see if that solves it.
Andreas
Thanks, it works now. But I have another issue, the logo file of the
defined IdP is loaded from the static.discojuice.org. Would it be
possible to be able to provide e.g. url of the image?
Cheers,
Michal P.
Thanks, it works now. But I have another issue, the logo file of the
defined IdP is loaded from the static.discojuice.org. Would it be
possible to be able to provide e.g. url of the image?