-
QuestionHi everybody, I've created a nice nicegui app if I say so myself for my company, which I packaged in a docker container and deployed it in an Azure Web App. The app works without problems in this scenario Only the final formality of adding authentication is left and I just can't get it to work. I am pulling my hairs out, so any help would be greatly appreciated. The requirement is as follows:
Initial idea
I have no idea how I can get Azure to allow this websocket connection. If anyone does know, please share how. I did see this thread, however, I have nowhere to configure such headers or am I using a reverse proxy myself. It could be that Azure is using something like this under the hood, but I have no way to modify this. So whether it's relevant or not, I don't know, but I don't think I can do anything about it. Backup approach If anyone has got any insights for me for either approach, that would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @Rjdrenth, You're probably correct that the websocket connection is blocked. |
Beta Was this translation helpful? Give feedback.
I indeed meant
app.storage.browser['id']
. I figured out the cause of my observation of a changing browser id:show=True
, it opens uphttp://127.0.0.1:8080
NiceGUI ready to go on http://localhost:8080, ......
, solocalhost
is first, which is what I tend to click if I were to click one of those links.http://localhost:8080/
rather than127.0.0.1
127.0.0.1
tolocalhost
or another local-pointing IP address would result in different values forapp.storage.browser['id']
- I just assumed that connecting to my local app from the same browser would result in the same value for