Hi Mikael,
On 19 Sep 2019, at 10:09, Mikael Bak <
bak.m...@oszk.hu> wrote:
> Hi list,
>
> We have successfully deployed an idP and integrated it with Hungarian
> Research and Educational Federation (HREF). It works very well thanks to
> the work you all have done in SimpleSAMLphp over the years. Thank you
> all for that!
Thanks for your kind words, it makes it really nice to work on a project like this :-)
> Sometimes an SP takes longer time to respond after loggin in on the idP.
> When that happens the login screen of the idP is gone and a blank page
> is showing to the user until the SP responds.
>
> Is there a way to show a custom html page right after login showing
> something like "Redirecting. Please wait." instead?
>
> I have been poking around in the SimpleSAMLphp source code without any
> luck. I must admit that my knowledge of SAML is limited. My php skills
> are somewhat outdated. So I may have missed something obvious.
You can create your own theme. Previously, this page in particular was hardcoded, but it’s not any longer, so you can override it with your own theme if you like:
https://simplesamlphp.org/docs/stable/simplesamlphp-theming
In this case, you would need to the following file in your own theme:
<SSP_ROOT>/modules/yourmodule/themes/yourtheme/default/post.php
Note also that we are migrating to twig templates, so if you are going to do this, it’s probably a good idea to implement this in twig already as well.
--
Jaime Pérez
Uninett / Feide
PGP: 9A08 EA20 E062 70B4 616B 43E3 562A FE3A 6293 62C2
https://keybase.io/jaimeperez
"Two roads diverged in a wood, and I, I took the one less traveled by, and that has made all the difference."
- Robert Frost