What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hey, i have a short question regarding the glue api. Do i really need the spryker/company module to
Comments
-
I'm not a developer and don't know about dependencies between authentication and spryker/company, but from my experience it's absolutely possible to authenticate a user against spryker-shop/b2c-demo-shop that doesn't have spryker/company module installed.
0 -
Du you have a workflow for that? How would you do that?
0 -
Maybe I got it wrong and you are really talking about user and Zed and not about customer and Yves like I thought at first?
0 -
You absolutely do not need the company module. You can just authenticate to Glue with any customer.
@UPWG9AYH2 might have some more insights.
0 -
In case it's a customer in Yves, you need just to send POST to
{{url}}/access-tokens
with a body like{ "data": { "type":"access-tokens", "attributes":{ "username":"<mailto:valerii.trots@spryker.com|valerii.trots@spryker.com>", "password": "change123" } } }
0 -
And then for all other requests you need to use authentication with provided token.
0 -
Ok, thank you guys. That's what i tried already. Currently i'm getting a "Failed to authenticate user" Error Message. The $restRequest->getRestUser() is null. Do i need a specific plugin?
0 -
Ok, i think i found the issue. I get two OauthRequestTransfer Object. One without an empty clientId and one with frontend as clientId
0 -
Ok ok, i missed the setup:init-db command π Now it's working.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random