In your second screenshot it seems the SignInDialog is called with an empty or null Url. Did your set the Url property correctly by code?
unless if you want to see my url and login I can send them your way.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.