You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// required for OIDC, see https://openid.net/specs/openid-connect-core-1_0.html#IDToken
207
+
// Issuer Identifier for the Issuer of the response.
208
+
'iss' => $this->urlGenerator->getBaseUrl(),
209
+
// Subject Identifier. A locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client
182
210
'sub' => $appToken->getUID(),
211
+
// Audience(s) that this ID Token is intended for. It MUST contain the OAuth 2.0 client_id of the Relying Party as an audience value.
183
212
'aud' => $client_id,
213
+
// Expiration time on or after which the ID Token MUST NOT be accepted for processing.
184
214
'exp' => $appToken->getExpires(),
215
+
// Time at which the JWT was issued.
185
216
'iat' => $this->time->getTime(),
217
+
// Time when the End-User authentication occurred.
186
218
'auth_time' => $this->time->getTime(),
187
219
188
220
// optional, can be requested by claims, we don't support requesting claims as of now, so we just send them always
221
+
// see https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
222
+
// End-User's preferred e-mail address.
189
223
'email' => $user->getEMailAddress(),
224
+
// End-User's full name in displayable form including all name parts, possibly including titles and suffixes
190
225
'name' => $user->getDisplayName(),
191
226
192
227
]);
@@ -205,16 +240,6 @@ public function getToken($grant_type, $code, $refresh_token, $client_id, $client
0 commit comments