You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new way to register a login method (leading to an extra button in the login form) is to call IRegistrationContext::registerAlternativeLogin in the app's Application::register.
Problems:
Getting the db connection (\OC::$server->get(ProviderMapper::class); might work)
We can only register classes with the new system. How are we going to register the same class multiple times but make it point to different oidc providers?
@juliushaertl Not very urgent but at some point the deprecated OC_App::registerLogIn will be gone.
The text was updated successfully, but these errors were encountered:
We can only register classes with the new system. How are we going to register the same class multiple times but make it point to different oidc providers?
Yeah that one is tricky, I don't see a good way of migrating without adjustments to the server API for that.
As mentioned in https://github.com/nextcloud/user_oidc/blob/4db5bc0/lib/AppInfo/Application.php#L113
OC_App::registerLogIn
is deprecated since NC 20.The new way to register a login method (leading to an extra button in the login form) is to call
IRegistrationContext::registerAlternativeLogin
in the app'sApplication::register
.Problems:
\OC::$server->get(ProviderMapper::class);
might work)@juliushaertl Not very urgent but at some point the deprecated
OC_App::registerLogIn
will be gone.The text was updated successfully, but these errors were encountered: