https://discord.umbraco.com
Join Discord
[SOLVED] Non-Admin Users throwing 'Could not validate XSRF token' error when editing grid content
s

si26

over 1 year ago
Hi all, I've got an issue where non-admin users are getting logged out when trying to submit/edit certain grid content. Slightly strange one as I can't recreate the issue with an Admin account, so it seems it might be a permissions issue? I'm getting this 'Could not validate XSRF token' error in the logs with non-admin users: ``System.Web.Mvc.HttpAntiForgeryException (0x80004005): The provided anti-forgery token was meant for a different claims-based user than the current user. at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken) at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken) at Umbraco.Web.WebApi.Filters.AngularAntiForgeryHelper.ValidateTokens(String cookieToken, String headerToken)`` Has anyone come across this before? Thanks, Simon
s
  • 1
  • 1
  • 100
Can you Increase Log File Size Limit?
d

Dan 'Diplo' Booth

about 1 year ago
If you try and view the Umbraco / serilog files that are above a certain size you get the message: "Today's log file is too large to be viewed and would cause performance problems." So is there a way I can decide how big is too big? I've a powerful desktop with 12 cores / 32GB RAM so I'm pretty sure it would be OK with a larger size. When you are doing stuff like trace-level logging it can easily fill up and trying to read a JSON log file in Notepad++ isn't fun... So can we increase the threshold? How? Alternatively, are there any offline log viewers (eg. stand alone app)? I remember someone wrote one once, but was that for the older log files?
d
k
+2
  • 4
  • 19
  • 98
Authorization error and empty content tree for all new users
a

Aksel

over 1 year ago
Hi! I'm having a weird issue in one of our staging environments. I've created a new user with Editor role. However when the user logs into the back office, the Content tree is empty. He also gets the following error: Authorization error: Unauthorized access to URL: /umbraco/backoffice/umbracoapi/language/GetAllLanguages I've tried changing his language and also the content start nodes etc..but no change. Anyone have any clue how to solve this?
a
  • 1
  • 2
  • 98
Umbraco Login redirect - v13.4
s

SiempreSteve

12 months ago
Noticed something has broken between v10 and v13. If you hit a url to the back office it used to set a redirectUrl param and hten on successful login redirect the editor to where they were going. Used this to provide a front end guard on non-production sites. (e.g. redirecting users back to the correct page on the stage / uat site after authenticating them as an Umbraco user). This seems to be broken. Has anyone got a workaround for this?
s
o
t
  • 3
  • 3
  • 97
delivery api parent id
d

Dennis Bidstrup

about 1 year ago
Hi! Is it possible to enable the output to have the parentId has part of the data. I don't understand why this is not part of the default response?
d
p
  • 2
  • 3
  • 97
uSync Vs Umbraco deploy
t

TigerMan

about 1 year ago
Hi all We're looking into a deployment solution for Umbraco, Umbraco Commerce to Azure. Both of these products seem to come across as being compatible.... Umbraco deploy seems very expensive but uSync seems to do the same but at a cheaper price. Does anyone have experience with these products and any disadvantages before we could make a decision?
t
k
+3
  • 5
  • 7
  • 96
Examine in load balanced environment 'umbracoServer' database table
s

sandervandepas_33359

over 1 year ago
Hi, We've an Umbraco 10.8.2 site in a load balanced environment. Following the documentation we need to set the right *serverrole * to the backoffice and frontend server by implementing a **custom ServerRegistrarComposer**: https://docs.umbraco.com/umbraco-cms/v/10.latest-lts/fundamentals/setup/server-setup/load-balancing/flexible-advanced *Question: * When we do this the database table umbracoServer won't be filled, is that correct? Or should this table always be filled?
s
m
  • 2
  • 9
  • 96
Content Delivery API - Custom Property Editor Value becomes empty arrays?
b

Boye

almost 2 years ago
I'm not really sure whats going on. My custom property editor stores it's value as a json object, I don't have any converters in between. The first screenshot is rendered directly from Razor, the second one is the response from Umbracos Content Delivery API
b
s
  • 2
  • 20
  • 96
Umbraco backoffice custom section port from 13 to 15
b

boston

6 months ago
Hello, some advices or guides to create a custom section in umbraco v15? cause i read the documentation about sections/entry points and package manifest but i'm a little bit confused 🙄 any real life sample to follow? And, any particular reason on why i should be using Lit instead of Blazor to create back office components?
b
s
  • 2
  • 5
  • 94
Hiding the ‘Save’ button in the back office.
r

Rich G

over 1 year ago
Is there a way to hide the Save button in the back office? We’re are running headless and I want to hide the ‘Save’ button and change the text of the ‘Save and Publish’ to ‘Save’ as we deal with publishing separately via a dashboard. Any ideas? Happy just to hide it with CSS (tried some code samples but couldn’t get this to work) or via code. Using latest Umbraco 13 latest Thanks
r
k
  • 2
  • 3
  • 94
Previous212223Next

Umbraco

A hub and casual space for you to interact with fellow community members and learn more about Umbraco!

Powered by