glue-backend token request

ivan-jurisic
ivan-jurisic Senior Spryker developer Posts: 25 πŸ§‘πŸ»β€πŸš€ - Cadet
edited August 2023 in Spryker Development

I followed documentation for installing glue backend api, executing request on this route: https://glue-backend.de.spryker.local/token/

with data in x-www-form-urlencoded for admin@spryker.com and change123 as password, results with 404 not found. Can someone help me how can I make valid request?

Best Answer

  • ivan-jurisic
    ivan-jurisic Senior Spryker developer Posts: 25 πŸ§‘πŸ»β€πŸš€ - Cadet
    Answer βœ“

    Indeed I did the same, but I was missing some ResourcePlugin and now it works fine. But thank you for the help anyway!

Answers

  • Hidran Arias
    Hidran Arias Senior Technical Trainer Sprykee Posts: 83 πŸ› - Council (mod)

    I just gave it a try and it works.

    Here are my settings

    Set the Accept and Content-type headers to application/json

    Body x-www-form-urlencoded

    username=admin@spryker.com

    password=change123

    grantType=password

  • ivan-jurisic
    ivan-jurisic Senior Spryker developer Posts: 25 πŸ§‘πŸ»β€πŸš€ - Cadet
    Answer βœ“

    Indeed I did the same, but I was missing some ResourcePlugin and now it works fine. But thank you for the help anyway!

This discussion has been closed.