Skip to content

Deploying NiceGUI app in Azure WebApp with Authentication #3560

Closed Answered by Rjdrenth
Rjdrenth asked this question in Q&A
Discussion options

You must be logged in to vote

I indeed meant app.storage.browser['id']. I figured out the cause of my observation of a changing browser id:

  • When you start a nicegui app with show=True, it opens up http://127.0.0.1:8080
  • It reports NiceGUI ready to go on http://localhost:8080, ......, so localhost is first, which is what I tend to click if I were to click one of those links.
  • Finally, I had to do my redirects to http://localhost:8080/ rather than 127.0.0.1
  • Personally, I was not aware that changing 127.0.0.1 to localhost or another local-pointing IP address would result in different values for app.storage.browser['id'] - I just assumed that connecting to my local app from the same browser would result in the same value for

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Rjdrenth
Comment options

@rodja
Comment options

@Rjdrenth
Comment options

Answer selected by rodja
@Rjdrenth
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
community question A question for the NiceGUI community
3 participants