Replies: 1 comment 2 replies
-
Ok so finally, I managed to understand and use correctly the full process thanks to : Before I was using a personnal access token but I had the bad surprise it expired so I worked hard and found another solution. First, I create an OAuth Client with a secret in http://<firefly-iii_server>/profile. Once it's done, I open a new page in my web browser and go to : I'm asked if I authorize the access or not, so I authorize. This code is important because it allows to ask for a token
In response you will receive something like this
Both tokens are very important for using API
The refresh token can be use to renew the access token without using the whole process again
In response you obtain a new access token and a new refresh token so you can continue the process as long as you want ! For example, each month, I generate my recurring transactions with a script calling API. I hope this will be helpful for those who are using API because I found it really hard to understand and create properly the whole process. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I feel really stupid because with rested and firefox I manage to create an authentication token and use it.
I'm unable to reproduce this using curl
I read oauth docs and tried obtaining an Authorization Code in order to request an acces token but no response since the beginning
I also tried refreshing an existing code but I can't find the good syntax either
Can someone help me ?
Regards
Beta Was this translation helpful? Give feedback.
All reactions