Change color of navigation bar in Auth0 SDK webAuth() modal view

Problem Statement

How can we customize the navigation bar and bottom toolbar color of a modal view in the webAuth() implementation?

Solution

The color of the navigation bar and bottom toolbar in Auth0 SDK webAuth() modal view are rendered by the OS and are not meant to be controlled by the App. Some posts suggest workarounds, which you could try but we don’t guarantee it will work. Fixing ASWebAuthenticationSession Presentation