what is Bearer AUTHORIZATION_TOKEN
-
@admin GRGN8897, CAn you confirm how to get this token and how it is different from jwt and refresh token which is generated from login Request as below.
conn.request("POST","/rest/auth/angelbroking/user/v1/loginByPassword",payload,headers)
res = conn.getresponse() data = res.read() df = pd.read_json(data) print(df) print(data.decode("utf-8")) print(data) refreshToken = df.loc["refreshToken"][3] jwtToken = df.loc["jwtToken"][3] feedToken = df.loc["feedToken"][3]
-
Hi @rajeevth90 You will get the tokens after you call login api()
-
Hi @rajeevth90 follow below link for reference
https://smartapi.angelbroking.com/topic/1194/basic-smartapi-integration-using-python -
@admin I call login api and below tokens are generated.
feedToken 090212090
jwtToken eyJhbGciOiJIUzUxM
refreshToken eyJhbGciOiJIUzUxMiJ9.eyJ0post that i am calling GETprofile, Which one of above is AUTHORIZATION TOKEN.
-
@rajeevth90 said in what is Bearer AUTHORIZATION_TOKEN:
post that i am calling GETprofile, Which one of above is AUTHORIZATION TOKEN.
jwt token
-
@admin , but as per ANGEL Documentation it should start with Bearer , so its not correct.
I have tried using jwt token as AUTHORIZATION_TOKEN still getting invalid token error. -
@rajeevth90 post you client id here
-
@admin please help me find out
https://apiconnect.angelbroking.com/rest/auth/angelbroking/jwt/v1/generateTokens
-
@viksh112 this link is not working
-
@admin this link does not work. many links that you posted already here is not working.