Detailed log of the oauth operation

Hi all.

trying to do oauth authorization via vk.com, and nothing succeeds - just shows an error page. seahub.log shows no information. how can i do detailed debugging to set up a connection via this provider?

hey.

config:

ENABLE_OAUTH = True
OAUTH_ENABLE_INSECURE_TRANSPORT = True
OAUTH_CLIENT_ID = ‘my-id’
OAUTH_CLIENT_SECRET = ‘my-secret’
OAUTH_REDIRECT_URL = ‘https://my-seafile/oauth/callback/
OAUTH_PROVIDER_DOMAIN = ‘vk.com
OAUTH_AUTHORIZATION_URL = ‘https://oauth.vk.com/authorize
OAUTH_TOKEN_URL = ‘https://oauth.vk.com/access_token
OAUTH_USER_INFO_URL = ‘https://api.vk.com/method/account.getProfileInfo
OAUTH_SCOPE = [“email”]
OAUTH_ATTRIBUTE_MAP = {
“email”: (True, “email”),
}

error:

2022-12-11 01:21:45,870 [ERROR] seahub.oauth.views:152 oauth_callback (invalid_client) client_id is undefined

On the vk side, the code and token transfers successfully.
How can I find out in more detail why the client_id passed in is perceived as incorrect?
With this error, it is impossible to understand why my authorization does not work

Hi,
do you already tried to set DEBUG = True in seahub_settings.py?
Also you can check the nginx logs