# Microsoft Auth login - Token too long

**URL:** <https://forum.bubble.io/t/microsoft-auth-login-token-too-long/313656>\
**Category:** APIs\
**Created:** [March 21, 2024, 5:02pm UTC](https://forum.bubble.io/t/microsoft-auth-login-token-too-long/313656 "2024-03-21T17:02:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fok\_ste](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@fok\_ste](https://forum.bubble.io/u/fok_ste)\
**Post date:** [March 21, 2024, 5:02pm UTC](https://forum.bubble.io/t/microsoft-auth-login-token-too-long/313656/1 "2024-03-21T17:02:20Z")

</div>

We’re using OAuth to auth. users with Microsoft Accounts on our bubble app.  
Some users can’t login with their MS accounts for “no reason”.

In the logs I found the following: Workflow error - Text is too long.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/4/54f95f58c2590d38904470fa5c0f00ff8995f358.png)

So I think the token that we receive from MS is too long for a “hidden” database field. Any idea how to solve this?

---

<div class="post-metadata">

**Author:** ![fok\_ste](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@fok\_ste](https://forum.bubble.io/u/fok_ste)\
**Post date:** [March 25, 2024, 12:57pm UTC](https://forum.bubble.io/t/microsoft-auth-login-token-too-long/313656/2 "2024-03-25T12:57:36Z")

</div>

_push_ ?

---

<div class="post-metadata">

**Author:** ![saloon-esquiver0t](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/saloon-esquiver0t/32/253776_2.png) [@saloon-esquiver0t](https://forum.bubble.io/u/saloon-esquiver0t)\
**Post date:** [May 23, 2025, 10:49am UTC](https://forum.bubble.io/t/microsoft-auth-login-token-too-long/313656/3 "2025-05-23T10:49:33Z")

</div>

did you solve it ? I’ve the same problem

---

<div class="post-metadata">

**Author:** ![Build-More](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/build-more/32/158077_2.png) [@Build-More](https://forum.bubble.io/u/Build-More)\
**Post date:** [October 7, 2025, 10:34am UTC](https://forum.bubble.io/t/microsoft-auth-login-token-too-long/313656/4 "2025-10-07T10:34:17Z")

</div>

Same problem here. Would be interested to know how you fixed it! 😅  
I’m guessing there’s no way to fix / workaround this other than by making changes in the Microsoft Azure/AD setup?

---

<div class="post-metadata">

**Author:** ![Build-More](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/build-more/32/158077_2.png) [@Build-More](https://forum.bubble.io/u/Build-More)\
**Post date:** [October 7, 2025, 10:50am UTC](https://forum.bubble.io/t/microsoft-auth-login-token-too-long/313656/5 "2025-10-07T10:50:49Z")

</div>

(Update) - Apparently, Bubble suggests the workaround proposed here:  
[https://forum.bubble.io/t/oauth-user-agent-flow-text-too-long-for-this-field/235454/14](https://forum.bubble.io/t/oauth-user-agent-flow-text-too-long-for-this-field/235454/14)
