Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Daniel Korsgaard's Avatar

Daniel Korsgaard

Beigetreten 16. Okt. 2021

·

Letzte Aktivität 16. Okt. 2021

Folge ich

0

Follower

0

Gesamtaktivitäten

2

Stimmen

0

Abonnement

1

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Daniel Korsgaard

Daniel Korsgaard hat einen Kommentar hinterlassen

KommentarSingle sign-on

Sorry to bring this up again, I have an issue when trying to match the user_fields in PHP. The User does not get updated / created with the custom fields filled. 


$jwtToken = \Firebase\JWT\JWT::encode([
'name' => $principal->getName(),
'email' => $principal->getEmail(),
'external_id' => $principal->getId(),
'iat' => (int) $now->format("U"),
'exp' => (int) $expire->format("U"),
'user_fields' => json_encode(["user_id" => $principal->getId(), 'newtest' => 'should have some value'])
], 'secret', 'HS256');

I'm not sure if I have misinterpreted this part. But when using the web widget, this seems like the only plausible way to create/update a user without calling the API. 

Kommentar anzeigen · Gepostet 30. Aug. 2021 · Daniel Korsgaard

0

Follower

0

Stimmen

0

Kommentare