I am very new to Bubble so sorry if this is a daft question. I have built an app for our School to use as a Streaming media service getting the media from Castr and the app presenting the videos in popups etc for a nice look and feel. The idea being it will be there for parents to login, which I have working as I want it too.
My next big change was to try and allow staff to login with their Entra login. I found a plugin for Microsoft login, setup our Entra App and connected it to the plugin - all good so far. I have now hit an error I don’t seem to have any way of fixing, When a user attempts login the redirect etc all works and authentication happens, it even appears to create a user in the User Db, but then it throws an error saying The text is too long for this field and there is no way of getting around it.
Have tried contacting the plugin author but not getting any reply, Any ideas or alternatives would be most welcome.
This is a common issue with SSO plugins — the token or claim returned by Entra (often the access token or ID token string) is being mapped to a User field that has a character limit, typically the email or name field being used to store something much longer.
A few things to check:
In your User data type, look at the fields the plugin is writing to. If any of them are set to type “text” with a short max length, that could be the culprit.
The most likely cause is the plugin is trying to store the raw JWT token in a field. Check the plugin’s field mappings in the element or workflow action settings — see if there’s a field being mapped to something it shouldn’t be.
Some Entra setups return a very long oid or sub claim. If the plugin is storing that as the unique identifier in a short text field, you’ll hit this error.
If you can share a screenshot of the plugin’s field mappings and your User data type fields, that would help narrow it down. Also worth checking if the plugin has a dedicated field for “unique ID” vs. trying to shoehorn it into the built-in Bubble email field.