Right now we are using an old provider for AAD authentication for admins. With AADv2 we can use the single flow, this will remove the need for us to depend on two providers. Also, we can simplify admin authentication to simply sign in with AAD and not use the second provider for auth.
However, this would mean making sure that the credential mapping works correctly as well, the issue being that we use the name of the Provider as the credential type. That is a bad design. This will need some refactoring and ensuring we don't break anything.
Right now we are using an old provider for AAD authentication for admins. With AADv2 we can use the single flow, this will remove the need for us to depend on two providers. Also, we can simplify admin authentication to simply sign in with AAD and not use the second provider for auth. However, this would mean making sure that the credential mapping works correctly as well, the issue being that we use the name of the
Provider
as the credential type. That is a bad design. This will need some refactoring and ensuring we don't break anything.