Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

oauth support #86

Closed
medspec opened this issue May 3, 2022 · 2 comments
Closed

oauth support #86

medspec opened this issue May 3, 2022 · 2 comments

Comments

@medspec
Copy link

medspec commented May 3, 2022

i am trying to make call using the "access token" but keep getting the error that i dont have access to the resources.

i see in the magento manual that a connection using only the token is disables by default
https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentication-token.html

but there "fix" to enable "enable_integration_as_bearer" is also no good, that has also been removed.
they continue to imply we should us oauth, is that supported?

@ahinkle
Copy link
Member

ahinkle commented May 20, 2022

Hey there,

There are no plans for OAuth as this package is native to Laravel's HTTP Client. Feel free to fork your own version though!

Thanks!

@ahinkle
Copy link
Member

ahinkle commented Jul 13, 2022

Hey @medspec,

I found this workaround (not ideal) but it should get you working for now.

Token-based behavior can be restored in the Admin by setting the Stores > Configuration > Services > OAuth > Consumer Settings > Allow OAuth Access Tokens to be used as standalone Bearer tokens option to Yes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants