# ChatGPT App User Authentication: Mixed Mode

**URL:** <https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765>\
**Category:** ChatGPT Apps SDK\
**Tags:** chatgpt, chatgpt-app, authentication\
**Created:** [January 2, 2026, 7:00pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765 "2026-01-02T19:00:29Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuai\_jinko](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/shuai_jinko/32/708511_2.png) [@shuai\_jinko](https://community.openai.com/u/shuai_jinko)\
**Post date:** [January 2, 2026, 7:00pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/1 "2026-01-02T19:00:29Z")

</div>

Hello everyone,

I’m currently testing the **mixed authentication mode** of ChatGPT App, where some tools don’t require OAuth, but others do. I’ve followed the implementation guidelines, but I noticed that when I add the app for testing and select **Mixed** as the authentication mode, the authentication UI is triggered immediately.

Is this the expected behavior? I was under the impression that the OAuth UI would only appear when a user attempts to use a tool configured with an OAuth2 `securityScheme`.

Any clarification would be appreciated.

---

<div class="post-metadata">

**Author:** ![Ben\_McFarlin](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Ben\_McFarlin](https://community.openai.com/u/Ben_McFarlin)\
**Post date:** [January 2, 2026, 7:59pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/2 "2026-01-02T19:59:40Z")

</div>

I noticed the same thing. Just select None (No Auth) and it will work just fine.

---

<div class="post-metadata">

**Author:** ![shuai\_jinko](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/shuai_jinko/32/708511_2.png) [@shuai\_jinko](https://community.openai.com/u/shuai_jinko)\
**Post date:** [January 2, 2026, 11:44pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/3 "2026-01-02T23:44:58Z")

</div>

Thanks for the insight. Have you been able to finish the authentication and tool calling? I find in this mode, there isn’t auth token attached in the request header.

---

<div class="post-metadata">

**Author:** ![Ben\_McFarlin](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Ben\_McFarlin](https://community.openai.com/u/Ben_McFarlin)\
**Post date:** [January 3, 2026, 12:07am UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/4 "2026-01-03T00:07:21Z")

</div>

Yes it works. The trick is in the meta data. Let me check my code.

---

<div class="post-metadata">

**Author:** ![Ben\_McFarlin](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Ben\_McFarlin](https://community.openai.com/u/Ben_McFarlin)\
**Post date:** [January 3, 2026, 12:17am UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/5 "2026-01-03T00:17:50Z")

</div>

For unauthenticated tool calls, use the “nouath” value in your securitySchemes array when defining the Tool.

### 

```
    securitySchemes = [
        { 
            "type": "noauth",
            "scopes": []

        },
    ],

```

For authenicated calls

### 

```
    securitySchemes = [
        { 
            "type": "oauth2",
            "scopes": []

        },
    ],

```

Once you are inside the tool call method, you can get the bearer token like this:

#### 

```
request_context = mcp._mcp_server.request_context
request = getattr(request_context, "request", None)
headers = getattr(request, "headers", None)
header_value = headers.get("Authorization")
header_value = header_value.strip()
token = header_value[7:].strip()

```

Of course, once you have the token, you’ll need to verify it.

---

<div class="post-metadata">

**Author:** ![guilherme\_bp](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@guilherme\_bp](https://community.openai.com/u/guilherme_bp)\
**Post date:** [January 7, 2026, 1:00pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/6 "2026-01-07T13:00:21Z")

</div>

Hey guys! Just to help you with it. When you add the app it for some reason triggers the authentication flow, but if you disconnect the app and connect again (which would be the flow that the user would do) you will be able to connect without authenticating. This way you can reproduce a user using you app as a guest

---

<div class="post-metadata">

**Author:** ![superset-jvmaia](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@superset-jvmaia](https://community.openai.com/u/superset-jvmaia)\
**Post date:** [November 9, 2026, 6:16pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/7 "2026-11-09T18:16:54Z")

</div>

Seeing the same thing on a published plugin (portal ZIP, `auth.type: "mixed"`, v1.0.6). Clicking Install on the directory listing calls `POST /backend-api/aip/connectors/links/oauth` straight away and opens our `/oauth2/authorize` page. There is no “continue without an account” choice, and our server isn’t contacted before that.

Our server follows the per-tool pattern: `noauth` on the open tools, `oauth2` on the rest, and an unauthenticated `initialize` and `tools/list` get 200. The docs say `policy.authentication` decides “whether auth happens on install or first use,” but I can only find it in `marketplace.json`, not in `plugin.json` or `mcp.json`, and nothing says it applies to a portal-uploaded plugin.

Two questions for anyone who knows:

Q1: Can a published mixed-auth plugin let a signed-out user install without OAuth, or is install always an OAuth step?

Q2: Is there a documented way to set auth on install vs. first use for a plugin uploaded through [platform.openai.com/plugins](http://platform.openai.com/plugins)?

@OpenAI_Support, a pointer to the intended behavior would help.

---

<div class="post-metadata">

**Author:** ![OpenAI\_Support](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/openai_support/32/561845_2.png) [@OpenAI\_Support](https://community.openai.com/u/OpenAI_Support)\
**Post date:** [November 11, 2026, 9:51pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/8 "2026-11-11T21:51:26Z")

</div>

Hey @shuai\_jinko,

Sorry for the long wait. Are you still being asked to sign in right away when you add your app for testing with **Mixed** authentication selected?

@superset-jvmaia, thanks for explaining what happens when you click Install and sharing the checks you’ve already completed.

Could you open your plugin in the submission portal, select MCPs, and confirm whether the saved authentication setting shows Mixed?

Our [submission guide](https://developers.openai.com/plugins/deploy/submission#configure-authentication-for-submission) recommends checking the saved connection settings after uploading a new version, because an upload may not replace an existing OAuth client configuration. This will help confirm that the saved setting matches your uploaded package.

If the saved setting already shows Mixed, please let me know. That will help narrow down the next steps for your questions about guest installation and sign-in timing.

- Aish

---

<div class="post-metadata">

**Author:** ![superset-jvmaia](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@superset-jvmaia](https://community.openai.com/u/superset-jvmaia)\
**Post date:** [November 17, 2026, 2:26pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/9 "2026-11-17T14:26:40Z")

</div>

hey @OpenAI_Support it already shows mixed!

---

<div class="post-metadata">

**Author:** ![OpenAI\_Support](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/openai_support/32/561845_2.png) [@OpenAI\_Support](https://community.openai.com/u/OpenAI_Support)\
**Post date:** [November 19, 2026, 7:06pm UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/10 "2026-11-19T19:06:52Z")

</div>

Hi @superset-jvmaia,

Thanks for confirming that the saved setting is Mixed and for sharing the checks you’ve completed. We’re looking into the sign-in behavior and will follow up here if we have an update to share.

Thanks for your patience while we investigate.

-Aish

---

<div class="post-metadata">

**Author:** ![marcus.nguyen](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@marcus.nguyen](https://community.openai.com/u/marcus.nguyen)\
**Post date:** [November 23, 2026, 4:01am UTC](https://community.openai.com/t/chatgpt-app-user-authentication-mixed-mode/1370765/11 "2026-11-23T04:01:01Z")

</div>

Hi @OpenAI_Support We have the same issue. Our connector is already set to Mixed, and the tool has the noauth type, but it is still asking to connect to our app when we click Connect.

“\_meta”: {  
“securitySchemes”: [  
{ “type”: “noauth” },  
{ “type”: “oauth2”, “scopes”: [“tracy”] }  
]  
}

 ![image](https://us1.discourse-cdn.com/openai1/original/4X/2/3/0/230ba8f0f1828a9b0c63c9b5cb642e102ff9c352.png)
