allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
210 stars 39 forks source link

User authorization - device flow - Invalid device code #9314

Open norbe opened 4 days ago

norbe commented 4 days ago

Hi,

I have been using client_credentials, but it has no permissions to work with offers and other parts of API.

Actually I have tried device flow. I Have successfully authorize my application, saved the device code but when I try log again after few days, it ends with "Invalid device code". Is there some way how to prevent it?

Our application need user free login, should I change authorization type again (to which one?) or is there some step I'm missing?

PrzemyslawLukanowski commented 4 days ago

You can use the refresh token feature thanks to which you can authorize the application only once, at the beginning. You can find more information in our tutorial. To change the language settings on the website please use the icon on the top-right corner.