# Changing the icon from a Marketplace Social Connection

**URL:** <https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227>\
**Category:** Get Help\
**Tags:** other-built-in-social-connections, connections\
**Created:** [September 22, 2025, 7:09am UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227 "2025-09-22T07:09:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![johanneskvamme](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johanneskvamme/32/76396_2.png) [@johanneskvamme](https://community.auth0.com/u/johanneskvamme)\
**Post date:** [September 22, 2025, 7:09am UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/1 "2025-09-22T07:09:44Z")

</div>

I want to change the icon for a connection from the marketplace, but I seem to get stuck.  
The icon is the global brand icon, but I only want their regional icon.

Changing the display name was easy, but when submitting the options-object, I seem to have to attach a fetchUserScripts-list. When I GET the connection I do not get this property in return. So I am clueless as to what to set this parameter to, to be able to change the icon.

> [@Custom name and icon for custom social connection](https://community.auth0.com/t/custom-name-and-icon-for-custom-social-connection/77271):
>
> Hi, I see here in the docs there is a section on how to modify the display name and the icon for a custom social connection: [https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/oauth2#modify-the-icon-and-display-name](https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/oauth2#modify-the-icon-and-display-name) My question is: when would this management API call be made? How am I supposed to make a call to my server from the Universal Login Screen in order to make this update? Or is this a call I only have to make a single time, and from then forward the i…

Any help would be appreciated

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [September 22, 2025, 4:25pm UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/3 "2025-09-22T16:25:37Z")

</div>

Hi @johanneskvamme

Welcome to the Auth0 Community!

Once you [GET](https://auth0.com/docs/api/management/v2/connections/get-connections-by-id) the connection details, even if the `options` parameter is not retrieved, you should still pe able to use it to update the connection itself.

Please try to [UPDATE](https://auth0.com/docs/api/management/v2/connections/patch-connections-by-id) the connection and add the desired icon like this:

```auto
{
  "options": {
  "icon_url": "{{iconURL}}"
  }
}

```

Please keep in mind that depending on the connection, you might be required to add additional parameters when updating it, you can retrieve the necessary information from the GET request you have previously performed.

If you have any other questions or if you still experience issues, let me know!

Kind Regards

---

<div class="post-metadata">

**Author:** ![johanneskvamme](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johanneskvamme/32/76396_2.png) [@johanneskvamme](https://community.auth0.com/u/johanneskvamme)\
**Post date:** [September 23, 2025, 11:08am UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/4 "2025-09-23T11:08:12Z")

</div>

Thank you, both for the welcome and the reply, Nik!

When I GET the connection, the response does not have any “scripts” field.

```jsonp
{
“name”: “vipps-mobilepay-social-connection”,
“realms”: \[
“vipps-mobilepay-social-connection”
\],
“strategy”: “oauth2”,
“enabled_clients”: \[
“REDACTED”,
“REDACTED”
\],
“display_name”: “Vipps”,
“is_domain_connection”: false,
“id”: “REDACTED”
}

```

Yet when I try to UPDATE the connection, I get a 400 Bad Request stating `{“statusCode”:400,“error”:“Bad Request”,“message”:“Payload validation error: ‘Missing required property: scripts’ on property options.”,“errorCode”:“invalid_body”}`

I have to admit that I have no idea what this scripts-property should contain, since the GET does not return any data for it.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [September 23, 2025, 2:43pm UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/5 "2025-09-23T14:43:17Z")

</div>

Hi again!

Have you performed the GET connection using the Management API page I have linked above? I was

I have created a dummy connection for Vipps Mobilepay and when I run it I received the `scripts` and also the `icon_url` as seen below:

```auto
"scripts": {
      "fetchUserProfile": "function fetchUserProfile(accessToken, context, callback) {\n request.get(\n {\n url: \"https://api.vipps.no/vipps-userinfo-api/userinfo\",\n headers: {\n Authorization: `Bearer 🔒"
    },
    "icon_url": "https://cdn.auth0.com/marketplace/catalog/content/assets/social-connections/vipps-mobile-pay-login/media/logo.png",

```

Can you confirm that you are not receiving the scripts through our Management API page?  
If you do receive them, by using the `icon_url` and `scripts` parameters you should be able to update the logo!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![johanneskvamme](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johanneskvamme/32/76396_2.png) [@johanneskvamme](https://community.auth0.com/u/johanneskvamme)\
**Post date:** [September 23, 2025, 3:35pm UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/6 "2025-09-23T15:35:38Z")

</div>

That is strange.

The output I pasted in my previous reply was indeed from that endpoint unless I am missing something.

```auto
curl -s "https://$AUTH0_DOMAIN/api/v2/connections/$CONNECTION_ID" \
  -H "authorization: Bearer $TOKEN" > connection.json

```

and I am not receiving the scripts in that json output.

I retrieved my token with

```auto
curl -s -X POST "https://$AUTH0_DOMAIN/oauth/token" \
  -H 'content-type: application/json' \
  -d "{\"client_id\":\"$M2M_CLIENT_ID\",\"client_secret\":\"$M2M_CLIENT_SECRET\",\"audience\":\"https://$AUTH0_DOMAIN/api/v2/\",\"grant_type\":\"client_credentials\"}" \
  | jq -r '.access_token'

```

I have toggled on `read:connections` and `update:connections` to the Management API for the client I am using.

I also tried running the API through the linked GET page, but the result was identical to the one I pasted earlier.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [September 23, 2025, 3:42pm UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/7 "2025-09-23T15:42:53Z")

</div>

Can you try this following cURL request? This is the one that is provided to me by the Management API page:

```auto
curl -L 'https://{{Auth0_Tenant}}.auth0.com/api/v2/connections/{{connection_ID}}' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {{ManagementAPI_Token}}'

```

Let me know if the output is different!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![johanneskvamme](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johanneskvamme/32/76396_2.png) [@johanneskvamme](https://community.auth0.com/u/johanneskvamme)\
**Post date:** [September 23, 2025, 4:12pm UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/8 "2025-09-23T16:12:24Z")

</div>

The solution was in your request there, `{{ManagementAPI_Token}}`!  
Using the Management API Token through the APIs \> Auth0 Management API \> API Explorer instead of the one for the application I configured myself gave all the data instead of just the previous minimum data.

Thank you for our patience and support!

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [September 23, 2025, 4:21pm UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/9 "2025-09-23T16:21:35Z")

</div>

My pleasure!

I saw in your previous post that you were using an M2M client for the request which probably was missing some permissions.

Glad I could help regarding the matter! If you ever have any other questions or issues, feel free to post again on the community!

Kind Regards,  
Nik

---

<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:** [October 7, 2025, 4:22pm UTC](https://community.auth0.com/t/changing-the-icon-from-a-marketplace-social-connection/192227/10 "2025-10-07T16:22:03Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
