dataset/seed/lemonldap/templates/wget.pl
2022-08-19 20:30:13 +02:00

9 lines
229 B
Perl

%echo "#!/usr/bin/env perl"
use HTTP::Tiny;
my $response = HTTP::Tiny->new->get('https://%%domain_name_eth0/.well-known/openid-configuration');
die "Failed!\n" unless $response->{success};
printf $response->{content} . "\n";