allegro / allegro-api

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

access token #9261

Open mohan-mandal-pattern opened 3 months ago

mohan-mandal-pattern commented 3 months ago

does both live account access token and sandbox access token both has the same expiration time that is 43199 seconds or different?

MartaNowaczyk commented 3 months ago

Yes, you can check it when you decode the token.

MartaNowaczyk commented 3 months ago

Let me clarify. It is the same.

mohan-mandal-pattern commented 3 months ago

But when I have tried to request any API using my local machine it is not working but it is working on the staging environment how it is possible somewhere it is working and somewhere not. Both place we are using same account.

MartaNowaczyk commented 3 months ago

I don't know, I need some specific data that would help me verify it, e.g. the token for which you are getting an error. It's sensitive data, so you can send it by contact form with add that it's for 9261 GH thread.

mohan-mandal-pattern commented 3 months ago

I can't give you the access token. It will be against the company policy. But I have used the JWT debugger which shows the access token has an invalid signature

Screenshot 2024-06-21 at 9 37 59 PM
mohan-mandal-pattern commented 3 months ago

I have generated it today and it showed me it has an invalid signature. It is working when I try to request any API using my local machine but unfortunately, it is not working on staging environment but they both are using same sandbox account

AureliuszBrussy commented 3 months ago

We are not currently registering any error with OAuth. To clarify this we need more details. What specific error message are we returning? The message about Invalid Signature on jwt.io is not relevant here.

stale[bot] commented 2 months ago

W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.


There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.