Some auth providers may want to add additional user configuration pages under /auth/. The AuthenticationProvider class already allows a lot of configuration, but can't add new url handling. We should extend it to have a new method which may return references to methods and/or controllers to add. Then AuthController.__init__ can just loop through those and use setattr() to add them to itself. Default implementation should return [] (so existing providers work fine) and have a docstring.
UserPreferencesProvidermight be slightly better thanAuthenticatonProvidersince this is more about additional preferences.Closed #521.
je/42cc_7029For QA: you can add something like the following to
LocalUserPreferencesProvider:Then go to
/auth/addand you should see 'Hello!' there.