Reset authUrl to empty string before fetching the new authenticated URL so the previous photo is never rendered during the async gap. Show a spinner while the new URL is loading.
Reset authUrl to empty string before fetching the new authenticated URL so the previous photo is never rendered during the async gap. Show a spinner while the new URL is loading.