I am looking to use the OAuth 2.0 Log-in Pop-Up Window for my Web App Builder Application stored on my server.
The reason being is that Customers accessing the application have Enterprise Sign-Ons and want to use them and they might now have an AGOL Username and Password.
I believe I found a sample of what I want do here: OAuth Popup | ArcGIS API for JavaScript 3.30
However, the sample code looks to be in an html page and I want to use it in Web App Builder. Can anyone give me a heads up as to where I need to put it?
Many thanks in advance. This stuff is as clear as mud to me. lol.