OAuthenticator 500 internal server error

I found a similar post for ldap authenticator: LDAP Authenticator error 500 creating user - JupyterHub / The Littlest JupyterHub - Jupyter Community Forum I wonder if similar setting to use_lookup_dn_username = False and use sAMA account name is available in OAuthenticator