最近の検索
最近の検索はありません

Daniel Korsgaard
参加日2021年10月16日
·
前回のアクティビティ2021年10月16日
フォロー中
0
フォロワー
0
合計アクティビティ
2
投票
0
サブスクリプション
1
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Daniel Korsgaard
Daniel Korsgaardさんがコメントを作成しました:
コメントSingle 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.
コメントを表示 · 投稿日時:2021年8月30日 · Daniel Korsgaard
0
フォロワー
0
投票
0
コメント