https://discord.umbraco.com
Join Discord
Extending the Appsettings-schema.json
c

Corné Hoskam

almost 2 years ago
Hi friends! Does anyone know if it's possible to (easily?) automatically extend the default provided appsettings-schema.json by Umbraco from an Umbraco package POV? Being able to ship an additional schema file isn't an issue, but it seems like I'll also need to be able to add an entry to the default appsettings-schema.json for it to be referenced 🤔
c
p
+5
  • 7
  • 25
  • 107
Umbraco backoffice custom section port from 13 to 15
b

boston

8 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
  • 105
Umbraco 15 and dotnet 9 exception
s

sky

9 months ago
Hi, im getting this error when trying to run my umbraco on ubuntu: Unhandled exception. System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.IISServerOptions' from assembly 'Microsoft.AspNetCore.Server.IIS, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. I installed umbraco 15 and dotnet 9 does anyone know what can be the problem?
s
k
s
  • 3
  • 3
  • 105
Delivery Api with Jwt Authentication
k

Khattab

over 1 year ago
I am building a headless Next website that will consume the content delivery api to render the content curated in Umbraco, the Next web app is secured with OpenId and users login to the web app and acquires an access token that will be used to communicate with Umbraco, we have configured Jwt for Umbraco and we can resolve the users when requesting Umbraco resources, the issue we are trying to solve is securing the content delivery api, according to the documentation the only way to authorize users users to consume the content delivery Api is by acquiring another token from Umbraco which acts as an identity provider, given the nature of Jwt middleware when I try to execute an authorize request with the token passed from the Next web app I receive the the client_id is empty, this is true because Jwt configurations doesn’t have a client id, also there will be now auth flow to authenticate against as the user authentication flow is already executed at the frontend side, when I checked the base delivery controller I found that it’s decorated with an Authorize filter that requires a policy that mandates that only token issued by the OpenIddict schema. So my question is there a way to go around this or extend the Api to allow requests issued by my custom Jwt scheme as well?
k
a
  • 2
  • 6
  • 105
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
  • 104
Multinode Treepicker Dynamic Root Query customization help
b

Blake Watt (Clerke)

9 months ago
I am trying to setup a node with a MNTP to pick authors that live outside of the root. I am running into issues attempting to make an XPath query get the authorFolder doctype (I am running out of guesses). I only chose the xpath route because it appears that with the fancy dynamic root query I can't actually query nodes outside of my current site. I'd like to use the dynamic root query but I don't think I can with this setup. We are using Umbraco v13 (if that helps). Could anyone help me with the xpath query needed to set the start note to the authorFolder? Please & Ty! 🙂 https://cdn.discordapp.com/attachments/1318679371489349735/1318679371665506404/Screenshot_2024-12-17_at_12.25.20_PM.png?ex=6763335e&is=6761e1de&hm=b492cd40e0fbccc478aab74c27b1a592291bf204d60cc8220701ab291c3e8d47&
b
s
  • 2
  • 2
  • 103
[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
  • 103
Umbraco 15 Custom Sections Create
w

warLock

8 months ago
Hello everyone, I took a break from developing with Umbraco after version 8, and now I’m working on a project with version 15. However, it has evolved into a very different structure, and I’m struggling to adapt. I want to create and use a new Section, but I haven’t been able to get it to work. I’ve read the documentation, talked to AI (applied the suggestions but they didn’t work), and tried everything, but nothing has worked so far. Friends, can you please explain how to add a Section in Umbraco 15? I really need help because I can’t figure it out. https://cdn.discordapp.com/attachments/1333604093654073364/1333604093930770493/image.png?ex=67997f19&is=67982d99&hm=b9e85a8ce5ed00a7d8d46a6a8276cb2e661c8dc92ddaa43465adf13155b0a632&
w
s
s
  • 3
  • 15
  • 102
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
  • 102
How to add the bearer token to your http request
a

allatrona

9 months ago
Hello, can someone tell me (or better yet, send me the documentation) of how umbraco excepts me to add the bearer token to my http requests to my custom management API Controller?
a
k
j
  • 3
  • 14
  • 101
Previous222324Next

Umbraco

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

Powered by