With the recent dependency ranges updates in #7788, the com.nimbusds:oauth2-oidc-sdk dependency was changed to use latest.release, resulting in the build picking up version 7.0 and failing because of backward compatibility issues. The resulting error is similar to "java.lang.NoClassDefFoundError: javax/mail/internet".

Related #195-deprecate-usage-of-javaxmail-package

We should fix this to use dependency ranges instead of latest.release.