https://discord.umbraco.com
Join Discord
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
  • 133
Best practise: restart after deployment?
d

Domitnator

over 1 year ago
Hi Everyone, We are deploying our Umbraco 13 website to Microsoft Azure (as a App Service on Linux) which works perfectly well right now. But, i am wondering if i should restart the application after the deployment. I heard some people say this would be wise because of some rare caching issues, but is this still the case for Umbraco 13? I'd rather not restart the application as this takes time (i know i could tackle this with deployment slots). We do use uSync and Azure Blob Storage. What are your toughts on this topic?
d
d
+3
  • 5
  • 10
  • 133
Extending the Appsettings-schema.json
c

Corné Hoskam

about 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
  • 133
error CS0246: The type or namespace name could not be found
w

webjaved

over 2 years ago
Hello, I am getting the following error message;
error CS0246: The type or namespace name 'FeaturedItemsRow' could not be found (are you missing a using directive or an assembly reference?)
Here is the featuredItemsRow.cshtml component file. https://prnt.sc/_gBCXnfJaxwi Here is the block selected as part of my page builder block. https://prnt.sc/p_MqFGvF2X_H I'm working on Umbraco Cloud at the moment but will look at getting the project cloned locally now that I have access to do so.
w
j
  • 2
  • 5
  • 133
uSync Vs Umbraco deploy
t

TigerMan

over 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
  • 132
How to run Umbraco in offline mode?
t

TigerMan

over 1 year ago
Hi I've read that Umbraco 13 could be run under offline mode. I might be using incorrect words to describe what I mean so I'll explain a little more. An Umbraco site can be run where the database connections do not need to be used, the sites files are cached so trips to the server are extremely limited. An upgrade can be carried out and the site never goes down. Only when it's necessary it would make database calls or update cached content. It might be part of Umbraco going green (meaning it's more environmentally friendly). Does anyone know how to get started with this or what is needed for this to happen? Thanks
t
s
m
  • 3
  • 3
  • 132
Reinstall Umbraco 13 instance
c

CaptTaifun

about 1 year ago
I have an Umbraco 13 instance and would now like to reinstall it (i.e. set up a new database). I have deleted the SQLite database and the “ConnectionStrings” section from all appsettings.json files. When I now run Umbraco, I only get “Boot Failed”. And in the log file: System.InvalidOperationException: The factory has not been configured with a proper connection string.\n at Umbraco.Cms.Infrastructure.Persistence.UmbracoDatabaseFactory.Initialize()\n at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock What else do I have to do to recreate the database/reinstall the instance?
c
h
+4
  • 6
  • 8
  • 131
Is there an official guide to deploy
b

biapar

about 1 year ago
Is there an official guide to deploy Umbraco 14 on Kubernets? I create a Dockerfile and it run ok on Docker. On k8s I've the error Unhandled exception. System.TimeoutException: Cannot acquire MainDom. Thx.
b
s
c
  • 3
  • 12
  • 130
uSync.Migrations - Minor probem
s

Steffen Nielsen

about 1 year ago
Hi folk, Im looking for some help or guidance to why im seeing this problem. I have a rather basic setup of umbraco V12, where we are currently using Nested Content. We are trying to convert these into Block Lists using the uSycn.Migrations tool. We don't have any custom types and everything is purely made using the UI, so no need for custom handlers etc. The problem im facing rigt know, is that when i run the import step after creating my migration (Nested content to blockList), it stops right after the import of DocTypes and gives me this error: This SqlTransaction has completed; it is no longer usable. I have tried to find the root cause, but i just can't seem to find the source of the problem. I have already gotten our SQL team to check if there are any issues on the database part, but they don't see any issues. Hopefully someone knows what to do. Thanks in advance. @Kevin Jump
s
k
  • 2
  • 10
  • 128
Umbraco 14 how to display custom section's content.
a

Abradolf Lincler

over 1 year ago
Hey so I've created custom section following the documentation, but i can't find anything about putting content in it. This is what i've done. I've also tried creating sectionView and it worked but it's not put in the content of the section I've created. https://cdn.discordapp.com/attachments/1252932290049216564/1252932290225639445/image.png?ex=667403a0&is=6672b220&hm=cbb6958896e391a683d7c16bb22549280c1d30652820739952d5540296487887& https://cdn.discordapp.com/attachments/1252932290049216564/1252932290443612181/image.png?ex=667403a0&is=6672b220&hm=bd2d5a53d2325f3d6b01ff07117ffb94b2370b9f5418300f4fd61a589340765b& https://cdn.discordapp.com/attachments/1252932290049216564/1252932290783219793/image.png?ex=667403a0&is=6672b220&hm=529d7a43c9c76abb754f5ae614af13cb83cfe5db4881cea01e59b98541a42af4&
a
b
  • 2
  • 3
  • 127
Previous212223Next

Umbraco

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

Powered by