Topic-icon OAuth authorization cannot be used from native VK applications

Active Subscriptions:

None
Dear Support,
I tried to authorize my account with VK, but when I try to log on my webpage via VK login button, I am forwarded to a page on which I get error:
oauth.vk.com/authorize?v=5.74&response_t...approval_prompt=auto

{"error":"invalid_request","error_description":"OAuth authorization cannot be used from native VK applications"}

my VK app i configured and enabled.

What I am doing wrong?
Thank you,
Kalixo
The topic has been locked.
Support Specialist
Usually this error is seen if the application is set up incorrectly. Can you go into your app at vk.com/dev and tell me that values for Website Address Base Domain, and Authorized redirect URI?
* Site address should be the home page of your website with http or https
* Base domain should not include https or www.
* Try leaving the redirect URI's blank

-Melissa
The topic has been locked.
Active Subscriptions:

None
Dear Mel,
thank you for helping me with this. I tried that and it still doesnt work.
Below please find the screen of my settings:

File Attachment:


Thank you,
best,
Kalixo
The topic has been locked.
Support Specialist
Hmm. Those settings look correct. The only difference I see from your app to ours is a / at the end of the website address. Can you try adding this?

Also, I can't find the login buttons / SCLogin module on your website. Can you point me to a specific URL where I can try to reproduce the behavior?

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hello Mel,
I added it once again. Now I have:
Authorized redirect URI: https:// rtvpwromocji .pl
It didn't change anything.

Any other ideas?

ps. link to the button page is: https:// rtvwpromocji .pl/redakcja-serwisu-rtv-w-promocji

Thank you,
Kalixo
The topic has been locked.
Support Specialist
Ahh, when I click on the VK login button on that page, the client ID in the authorization request does not match the client ID that was in your screenshot. Make sure you're using the Application ID and Secure Key, not Secure Key and Service Token.
The topic has been locked.
Active Subscriptions:

None
Dear Mel,
thank you, you are right. It was my mistake - I used wrong ID :(
after changing the ID, I added "/index.php" in the "Authorized redirect URI: " and it worked.

thank you very much once again!
you are the best!
Kalixo.
The topic has been locked.
Support Specialist
Glad that I could help and it was a simple fix :)
The topic has been locked.