You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How do I contact service desk please.
https://www.mql5.com/en/contact
Sorry Elena, i've my account banned for Asking people some reply on box message..
Did the ban can be removed?? Can you help me?
Many Thanks
Sorry Elena, i've my account banned for Asking people some reply on box message..
Did the ban can be removed?? Can you help me?
Many Thanks
Forum on trading, automated trading systems and testing trading strategies
MQL5.community OAuth.
Vladislav Andruschenko, 2026.06.13 07:53
@MetaQuotes @Pavel Kozlov
Additional diagnostic information:
I have now tested the OAuth flow again with the official endpoints from the article:
Authorization endpoint:
https://www.mql5.com/en/oauth/login
Token endpoint:
https://www.mql5.com/api/oauth/access_token
User endpoint:
https://www.mql5.com/api/oauth/user_info
The authorization code is received successfully.
The token endpoint returns HTTP 200 and a valid-looking response containing:
access_token
refresh_token
expires_in
token_type: Bearer
Immediately after receiving this token, I call:
https://www.mql5.com/api/oauth/user_info
Result:
POST request returns HTTP 200 with:
{ "error": { "error": 103, "message": "Access token is invalid because the user is not authorized" } }GET request returns an HTML 404 page instead of API JSON.
I also tested scope=profile, but the result is the same.
Could MetaQuotes please confirm the exact required request format for /api/oauth/user_info?
Specifically:
Should user_info be called by GET or POST?
Should the token be sent as Authorization: Bearer <access_token> or as access_token in the POST body?
Is any scope required?
Does my OAuth application need additional permission to access user_info?
Is /api/oauth/user_info currently working correctly?
Please note: I am using the official OAuth application endpoints from the MQL5 account Applications section.