@@ -16,12 +16,9 @@ PRs of your own 😃
1616[ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/89d30a43fedf210d470b/maintainability )] ( https://codeclimate.com/github/accodeing/fortnox-api/maintainability )
1717[ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/89d30a43fedf210d470b/test_coverage )] ( https://codeclimate.com/github/accodeing/fortnox-api/test_coverage )
1818
19- The rough status of this project is as follows (as of spring 2023 ):
19+ The rough status of this project is as follows (as of spring 2025 ):
2020
21- - ` master ` branch and the released versions should be production ready.
22- - We are actively working on our generalization of this gem:
23- [ rest_easy gem] ( https://github.com/accodeing/rest_easy ) . It will be a base for
24- REST API's in general.
21+ - ` master ` branch and the released versions is production ready.
2522- Basic structure complete. Things like getting customers and invoices, updating
2623 and saving etc.
2724- Some advanced features implemented, for instance support for multiple Fortnox
@@ -175,11 +172,9 @@ $ gem install fortnox-api
175172## Authorization
176173
177174> :warning : Before 2022, Fortnox used a client ID and a fixed access token for
178- > authorization. This way of is now deprecated. The old access tokens have a
179- > life span of 10 years according to Fortnox. They can still be used, but you
180- > can't issue any new long lived tokens and they recommend to migrate to the new
181- > authorization process. This gem will no longer support the old way of
182- > authorization since v0.9.0.
175+ > authorization. This way of is now deprecated. The old access tokens will be
176+ > deprecated April 30, 2025 according to Fortnox. This gem will no longer support
177+ > the old way of authorization from v0.9.0.
183178
184179You need to have a Fortnox app and to create such an app, you need to register
185180as a Fortnox developer. It might feel as if "I just want to create an
@@ -207,7 +202,7 @@ Things you need:
207202
208203When you have authorized your integration you get an access token from Fortnox.
209204It's a JWT with a expiration time (currently ** 1 hour** ). You also get a long
210- lived refresh token (currently lasts for ** 31 days** ). When you need a new
205+ lived refresh token (currently lasts for ** 45 days** ). When you need a new
211206access token you send a renewal request to Fortnox. That request contains the
212207new access token as well as a new refresh token and some other data. Note that
213208** the old refresh token is invalidated when new tokens are requested** . As long
0 commit comments