# Social Identity Provider + Opaque access\_token

**URL:** <https://community.auth0.com/t/social-identity-provider-opaque-access-token/7124>\
**Category:** Get Help\
**Tags:** opaque-tokens, social-provider\
**Created:** [June 17, 2017, 12:42pm UTC](https://community.auth0.com/t/social-identity-provider-opaque-access-token/7124 "2017-06-17T12:42:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronak.sharma](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ronak.sharma/32/12835_2.png) [@ronak.sharma](https://community.auth0.com/u/ronak.sharma)\
**Post date:** [June 17, 2017, 12:42pm UTC](https://community.auth0.com/t/social-identity-provider-opaque-access-token/7124/1 "2017-06-17T12:42:09Z")

</div>

I have successfully integrated google and facebook into my mvc app using quick start custom login project code .  
But, after the user authentication, i am getting Opaque access\_token from Auth0. even though i specified audience property as mentioned below.

> public IActionResult  
> LoginExternal(string connection,  
> string returnUrl = “/”)  
> {  
> var properties = new AuthenticationProperties() {  
> RedirectUri = returnUrl };
> 
> ```
> if (!string.IsNullOrEmpty(connection))
> properties.Items.Add("connection",
> 
> ```
> 
> connection);  
> properties.Items.Add(“audience”,  
> “[https://ronak01.auth0.com/api/v2/](https://ronak01.auth0.com/api/v2/)”);
> 
> ```
> return new ChallengeResult("Auth0", properties);
> }
> 
> ```

I want JWT access\_token , because aft getting this token i will call dotnet core web-api which authorises the method based on JWT access\_token and not opaque token

@abhishek.hingnikar , @abhishek , @prashant , @jmangelo :- can u give me some suggestion, am i missing something? I have urgency if you guys can give some suggestion it would be helpful for me.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [June 19, 2017, 7:38am UTC](https://community.auth0.com/t/social-identity-provider-opaque-access-token/7124/2 "2017-06-19T07:38:46Z")

</div>

Your audience parameter is the Auth0 Management API identifier - you need to configure your own API in the API section, and use the `identifier` of that API as your `audience` parameter.

---

<div class="post-metadata">

**Author:** ![ronak.sharma](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ronak.sharma/32/12835_2.png) [@ronak.sharma](https://community.auth0.com/u/ronak.sharma)\
**Post date:** [June 19, 2017, 11:29am UTC](https://community.auth0.com/t/social-identity-provider-opaque-access-token/7124/3 "2017-06-19T11:29:53Z")

</div>

@prashant thanks for reply…  
As per your comment, i have created new Api and used its identifier’s value into “audience” in below mentioned code. But still i am getting opaque\_token in response, can u please give me suggestions on this.

---

<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/social-identity-provider-opaque-access-token/7124/4 "2018-03-02T05:54:44Z")

</div>


