farizrifqi/RepubliK-API

How to get authToken?

Opened this issue · 1 comments

I apologize for a stupid question, but can you tell me where to get authToken)?

Initially I wanted to create posts after authorization. But createPost returned false. So I thought that the problem is in the authorization. When I tried to remove refreshToken and authorize only through authToken, I started to get an error: Not authenticated.

You can get the authToken from Local Storage:

Dev Tools (or press F12 on Chromium-based browser) > Application > Local Storage

But seems it not caused by invalid authToken, but because their new updates on requesting API.

Refers to #5.