Magento 2, token for authorization response is only “value string”, without any keys. What should I fill in in the Parabola field “Response Access token field”? As I tried empty, brackets, and everything else as a field, but the key is not parsed. I even get a success 200 message and a correct key bellow (screenshot), but Parabola is showing an error, cant find access token.
PULL FROM API (Magento 2 bearer token), response is only value, without a key, can not use
Hi @Miha_Lenasi - Happy to take a look! Are you using the Bearer token authentication method to authenticate the step or are you passing that token using an authorization header?
Neither of that, I use Expiring Access Tokens. If I manually put the Bearer token in the header, it works normally. But that means it will not get refreshed automatically. So I use: Expiring Access Tokens in Parabola, which normally works perfectly for all applications, which return key and value, so the parabala can find the value. Magento returns only value without a key, so it looks like Parabola can not merge that as a bearer token.
Thank you for that information! As you mentioned, Magento is sending back their token as a string instead of an object. Unfortunately seems like we aren’t able to pull in the token in this format which is why you are seeing that error message.
Then please give me some other options or upgrade the call. Magento 2 is like the industry standard for larger web stores, how can you not support it? Just put an option for an empty key response. Can not understand how can you not support Magento 2…
Hey @Miha_Lenasi, I’ll relay this feedback to our product team to enable receiving tokens as a string on our API step. Once we receive updates, we’ll be sure to follow up on this thread.
Thanks. Merge tags support for bearer or strings, both is the solution. Expected timeframe? As without this input step, whole action is broken