diff --git a/config.php b/config.php index 35dead0..f0888b0 100644 --- a/config.php +++ b/config.php @@ -1,6 +1,15 @@ 'https://irma.app/ld/request/issuance/v2', 'credentials' => [[ - 'credential' => 'irma-demo.IRMATube.member', + 'credential' => ISSUER . '.IRMATube.member', 'validity' => strtotime('+6 months'), 'attributes' => [ 'fullname' => $parsedjson['disclosed'][0][0]['rawvalue'], diff --git a/start_session.php b/start_session.php index ea2f7ff..a0d5ec9 100644 --- a/start_session.php +++ b/start_session.php @@ -134,8 +134,8 @@ '@context' => 'https://irma.app/ld/request/disclosure/v2', 'disclose' => [ [ - ['pbdf.pbdf.facebook.fullname'], - ['pbdf.gemeente.personalData.fullname'], + [ISSUER .'.pbdf.facebook.fullname'], + [ISSUER .'.gemeente.personalData.fullname'], ] ], ] @@ -143,7 +143,7 @@ 'watch_premium_contents' => [ '@context' => 'https://irma.app/ld/request/disclosure/v2', 'disclose' => [[[ - 'pbdf.IRMATube.member.fullname', + ISSUER .'.IRMATube.member.fullname', ]]], ], 'presencecheck' => [