Adding production URL to External Providers

If we implemented one or more external providers, as described in Chapter 9, Advanced Topics, and we want them to be working with our production app, we'll most likely have to add our public facing URL such as www.our-website-url.com, for example to the allowed JavaScript origins URL list.

If the external provider doesn't allow multiple URLs, we will need to create a whole new app there--such as TestMakerFree_Production--and set the new keys in the appsettings.json file as well, leaving the old one configured within the appsettings.Development.json file.

Creating two different apps for development/test and for production is always a good practice, even if the external provider allows us to set multiple origin URLs. Whenever we do that, we can ensure that our login tests--or other tests against user accounts--won't affect our development environment.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.173.199