Please note that I did spot a couple of issues with D2 auth plugins. Documented here:
In case it is of use.