# Created\_at not returned in userInfo

**URL:** <https://community.auth0.com/t/created-at-not-returned-in-userinfo/6795>\
**Category:** Get Help\
**Tags:** userinfo, authorize, social-connections\
**Created:** [May 30, 2017, 5:09pm UTC](https://community.auth0.com/t/created-at-not-returned-in-userinfo/6795 "2017-05-30T17:09:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![picosam](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/picosam/32/5412_2.png) [@picosam](https://community.auth0.com/u/picosam)\
**Post date:** [May 30, 2017, 5:09pm UTC](https://community.auth0.com/t/created-at-not-returned-in-userinfo/6795/1 "2017-05-30T17:09:20Z")

</div>

Hello, why isn’t the `created_at` field returned when calling userInfo as indicated in the docs; only `updated_at`?

Here’s my code:

```
private webAuth = new auth0.WebAuth({
	domain: AUTH_CONFIG.domain,
	clientID: AUTH_CONFIG.clientID,
	redirectUri: AUTH_CONFIG.callbackURL,
	audience: `https://${AUTH_CONFIG.domain}/userinfo`,
	responseType: 'token id_token',
	scope: 'openid email profile'
});

public loginWithGoogle() {
	this.webAuth.authorize({connection: 'google-oauth2'});
}

```

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [May 30, 2017, 10:03pm UTC](https://community.auth0.com/t/created-at-not-returned-in-userinfo/6795/2 "2017-05-30T22:03:41Z")

</div>

You’re performing an authentication and API authorization request (aka audience parameter). The use of API authorization implies that the authentication response will strictly follow the OpenID Connect (OIDC) specification.

This means that by default only [claims specified as part of that specification](http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) will be included in the issued ID token. The `updated_at` is one of the standard claims, however, **`created_at` is not a standard OIDC claim** so it is not returned.

You can include custom claims in the issued ID token, although they need to be namespace, so you could include the information available in the `created_at` field as part of a custom namespaced claim. For reference information on how to accomplish this see:

> **[OpenID Connect Scopes](https://auth0.com/docs/get-started/apis/scopes/openid-connect-scopes)**
>
> Understand scopes and claims used with the OpenID Connect (OIDC) protocol.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/created-at-not-returned-in-userinfo/6795/3 "2018-03-02T05:54:12Z")

</div>


