{"id":18777529,"url":"https://github.com/onify/blueprint-fortnox-activate-authenticate","last_synced_at":"2025-12-16T23:30:14.017Z","repository":{"id":113735776,"uuid":"539190240","full_name":"onify/blueprint-fortnox-activate-authenticate","owner":"onify","description":"Onify Blueprint: Activate and authenticate Fortnox integration","archived":false,"fork":false,"pushed_at":"2023-06-15T12:49:29.000Z","size":399,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T17:57:04.263Z","etag":null,"topics":["blueprint","bpmn","flow","form","fortnox","integration","onify","onify-blueprint","onify-blueprints","rest-api"],"latest_commit_sha":null,"homepage":"https://onify.co","language":"Pug","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-20T21:00:02.000Z","updated_at":"2022-09-20T21:57:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d2e7d0c-f9fb-4009-ac04-ab42c4922a95","html_url":"https://github.com/onify/blueprint-fortnox-activate-authenticate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-fortnox-activate-authenticate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-fortnox-activate-authenticate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-fortnox-activate-authenticate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onify%2Fblueprint-fortnox-activate-authenticate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onify","download_url":"https://codeload.github.com/onify/blueprint-fortnox-activate-authenticate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239687659,"owners_count":19680770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blueprint","bpmn","flow","form","fortnox","integration","onify","onify-blueprint","onify-blueprints","rest-api"],"created_at":"2024-11-07T20:11:30.863Z","updated_at":"2025-12-16T23:30:13.984Z","avatar_url":"https://github.com/onify.png","language":"Pug","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Onify Blueprints](https://files.readme.io/8ba3f14-onify-blueprints-logo.png)\n\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n\n# Onify Blueprint: Activate and authenticate Fortnox integration\n\n[Fortnox](https://fortnox.com/) is a Swedish ERP company that delivers a cloud-based business platform for financial management. In this Blueprint we Activate the integration between Fortnox and Onify.\n\n![Onify Blueprint: Activate and authenticate Fortnox integration](blueprint.jpg \"Blueprint\")\n\n## Requirements\n\n* [Onify Hub](https://github.com/onify/install)\n* [Fortnox](https://freshservice.com/)\n\n## Included\n\n* 3 x Flows\n* 1 x Form\n* 2 x Settings\n\n## Setup\n\n### Resources\n\nCopy `.\\resources\\*` to your Onify Hub resources\n\n### Settings\n\nAdd the following settings via `/admin/settings`.\n\n|Key|Name|Description|Value|Type|Tag|Role|\n|---|----|-----------|-----|----|---|----|\n|fortnox_app_clientid|fortnox_app_clientid|Onify App Client Id|JBL1UVnvfo4y|string|fortnox,frontend|admin|\n|fortnox_app_clientsecret|fortnox_app_clientsecret|Onify App Client Secret|*******|password|fortnox|admin|\n\n\u003e Please contact support@onify.co to get the `fortnox_app_clientsecret` value.\n\n### Configuration\n\nImport configuration for **forms** and **flows** using the following command;\n\n```bash\ncurl -X POST \"\u003cONIFY-HUB-API-URL\u003e/api/v2/setup/database/config/import\" -H \"accept: application/json\" -H \"authorization: \u003cAUTH-TOKEN\u003e\" -H \"Content-Type: application/json\" -d \"@./config.json\" --insecure\n```\n\n## Activate (and authenticate) integration with Fortnox\n\n* Create activation link for Fortnox (in Onify)\n  1. Go to `\u003cONIFY-HUB-APP-URL\u003e/form/fortnox-activate`\n  2. Enter _Redirect URI_\n  3. Enter _Scopes_ (and modify if needed)\n  4. Click _Generate activation URL_ \n  5. Click on the generated action link\n* Authenticate user for Onify (in Fortnox)\n  1. Enter username and password for Fortnox\n  2. Approve access for user and Onify\n  4. Fortnox will redirect you to a website that does not exist\n  5. Copy the code (eg. `035411fc-ce95-4c4a-bc15-273daf5ddd67`) from the url\n* Activate and authenticate Fortnox (in Onify)\n  1. Go back to the activation form\n  2. Paste the code in _Authentication code_\n  3. Click _Activate Onify in Fortnox_ \n\n\u003e For more information about authenticating against Fortnox, please read [Authorizing your integration](https://developer.fortnox.se/general/authentication/).\n\n### Authenticate and refresh access-token\n\n`fortnox-refresh-access-token.bpmn` is used for refreshing the access-token. The Access Token is valid 1 hours the Refresh Token is valid for 31 days. So make sure you refresh the Refresh Token before it expires and you have to reactivate the integration again.\n\n## Support\n\n* Community/forum: https://support.onify.co/discuss\n* Documentation: https://support.onify.co/docs\n* Support and SLA: https://support.onify.co/docs/get-support\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonify%2Fblueprint-fortnox-activate-authenticate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonify%2Fblueprint-fortnox-activate-authenticate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonify%2Fblueprint-fortnox-activate-authenticate/lists"}