marketcalls / openalgo

Open Source Algo Trading Platform for Everyone
https://docs.openalgo.in
GNU Affero General Public License v3.0
151 stars 69 forks source link

angel login error #48

Closed yadu12342q closed 4 months ago

yadu12342q commented 4 months ago

angel every detail is fine but still getting error in login

marketcalls commented 4 months ago

Hi,

Ensure that you configured the .env file for angel in the below format BROKER_API_KEY = 'your_api_key_here' BROKER_API_SECRET = 'your_api_secret_here' REDIRECT_URL = 'http://127.0.0.1:5000/angel/callback'

for complete config instructions you can refer https://docs.openalgo.in/connect-brokers/angelone

Here is the sample config

BROKER_API_KEY = 'BcM2Y9c7' BROKER_API_SECRET = '4cRx5mDdz89rg4R'

REDIRECT_URL = 'http://127.0.0.1:5000/angel/callback'

Also please check the VS Code Log for why the authentication is failing.

marketcalls commented 4 months ago

Hope your Angel Login Issue got fixed It is due to extra space while configuring the API Credentials.