Subject: An open discussion list for topics related to the geteduroam service
List archive
- From: Christian Mittring <christian.mittring AT rz.uni-augsburg.de>
- To: Jørn Åne de Jong <jornane.dejong AT surf.nl>, geteduroam AT lists.geant.org
- Subject: Re: letswifi-portal modifications
- Date: Fri, 18 Jul 2025 07:58:45 +0200
Hello Jørn,
thank you for the update.
We started installing our production server.
I used simplesamlphp-2.3.8 instead of simplesamlphp-2.3.6 (running on the test server).
It resulted in a Server error 500 on the "/app/" page.
Is this a known issue?
The apache error log is pointing to twig as problem.
If I switch back to simplesamlphp-2.3.6 it works.
In addidtion we realized this error message on every web-call (even with simplesamlphp-2.3.6 on the testsystem) while running fine:
[Fri Jul 18 06:54:55.165662 2025] [proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Warning: Array to string conversion in /usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on line 345; PHP message: PHP Warning: Array to string conversion in /usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on line 345; PHP message: PHP Warning: Array to string conversion in /usr/local/share/letswifi-portal/vendor/twig/twig/src/Template.php on line 345'
Thank you
Christian Mittring
Universität Augsburg
Rechenzentrum
86135 Augsburg
Telefon 0821/598-2042
christian.mittring AT rz.uni-augsburg.de
https://www.rz.uni-augsburg.de
Am 16.07.2025 um 17:27 schrieb Jørn Åne de Jong (via geteduroam Mailing List):
On 01/07/2025 07:56, Christian Mittring wrote:
Hello Jørn,
just a short update, we are planing to install our production geteduroam portal next week.
We would like to use the code from the beta branch (https:// github.com/ geteduroam/letswifi-portal/tree/beta) with some tiny modifications.
1.
To fix some issues with older Linux/Anroid App Versions:
in /usr/local/share/letswifi-portal/src/letswifi/credential/ certificatecredential.php:
public function getAnonymousIdentity(): ?string
{
return substr($this->credentialId,3);
// return null;
}
2.
To avoid App token is longer valid than certificate:
/usr/local/share/letswifi-portal/src/letswifi/auth/ authenticationcontext.php
$this->oauth = new OAuth(
$accessTokenSealer,
$authorizationCodeSealer,
$refreshTokenSealer,
new \DateInterval("P7D"),
);
So oauth token should only work 7 days.
Are these adjustments problematic (especially the short token lifetime)?
Are there any planned releases in the next 2-3 weeks for the letswifi- portal, we should wait for?
Hello Christian!
Sorry for my late reply.
The changes you described here should work just fine and won't break anything now or when updating to the final version when it's done.
I'll try to release something in the next weeks but no promise, so if I were you I would stay with the changes that you described here.
Good to hear you found a hotfix for the time being. :)
Have a great summer, I'll let you know when we have a release.
-
Re: letswifi-portal modifications,
Christian Mittring, 07/01/2025
-
Re: letswifi-portal modifications,
Jørn Åne de Jong, 07/16/2025
-
Re: letswifi-portal modifications,
Christian Mittring, 07/18/2025
- Re: [External] Re: letswifi-portal modifications, Adam T. Ferrero, 07/18/2025
-
Re: letswifi-portal modifications,
Christian Mittring, 07/18/2025
-
Re: letswifi-portal modifications,
Jørn Åne de Jong, 07/16/2025
Archive powered by MHonArc 2.6.24.