Glue API access-token and token endpoints
Hello all, I've been looking into the API specs of Spryker and I found that there are two types of toek requesting endpoints, one is '{{baseUrl}}/access-tokens' and another one is '{{baseUrl}}/token'. I couldn't make the latter work as well, tried a few options for passing the arguments and headers, but no luck. I would like to know about these two, things like which to use when. I've noticed that in some docs pages ( Like this,
), I can see the reference to "/token" endpoint. I would really appreciate if anyone from spryker could clear the air here for meBest Answer
-
Hi!
Spryker provides API endpoints for customers and users.
Customers, using Glue API, have to use /access-tokens endpoint with storefront domain (see application glue ).
Users, using DataExchange API or Backend Glue API or Storefront Glue API, have to use /token endpoint with the corresponding domain (see application glue-backend or glue-storefront)
Please check this documentation:
I hope this helps.
1
Answers
-
Hi!
Spryker provides API endpoints for customers and users.
Customers, using Glue API, have to use /access-tokens endpoint with storefront domain (see application glue ).
Users, using DataExchange API or Backend Glue API or Storefront Glue API, have to use /token endpoint with the corresponding domain (see application glue-backend or glue-storefront)
Please check this documentation:
I hope this helps.
1
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 73 Spryker News
- 911 Developer Corner
- 771 Spryker Development
- 87 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 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
- 69 Spryker Safari Questions
- 50 Random