‎09-08-2023 12:03 PM
Hi All.
I trying to use Postman with basic auth instead of bearer. With all x-header needed I got a 400 error with the message:
‎11-08-2023 08:22 AM - edited ‎11-08-2023 08:24 AM
Hi rsutcliffe.
Trying to use Bearer I got an forbidden error using Basic I got the message above. The configuration, which we have (having GraphQL since a few days) a Basic Auth styled web.config but also a Bearer option. With the same user, I get a valid token, but not for GraphQL.
My own knowledge about Mega/Hopex/GraphQL configuration is newcomer. We tried yesterday a look into web logs. But the only thing we see was a invalid security. Seems to be strange, because with the same credentials using Basic I got a token or be able to login into the Hopex GUI. And all the other ID-values match.
KG
Volker
‎10-08-2023 10:01 PM
Hello @VieJay ,
In case you have not seen it, there is a post on the community that describes basic auth for Hopex V3 & Hopex V4.
Here is the link > https://community.mega.com/t5/REST-API/Basic-Auth-vs-Bearer-Token-HOPEX-V3-or-V4/m-p/23476#M14
I hope that this helps.
Kind regards,
Ryan