Giter Club home page Giter Club logo

blueprint-fortnox-activate-authenticate's Introduction

Onify Blueprints

Project Status: WIP โ€“ Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

Onify Blueprint: Activate and authenticate Fortnox integration

Fortnox 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.

Onify Blueprint: Activate and authenticate Fortnox integration

Requirements

Included

  • 3 x Flows
  • 1 x Form
  • 2 x Settings

Setup

Resources

Copy .\resources\* to your Onify Hub resources

Settings

Add the following settings via /admin/settings.

Key Name Description Value Type Tag Role
fortnox_app_clientid fortnox_app_clientid Onify App Client Id JBL1UVnvfo4y string fortnox,frontend admin
fortnox_app_clientsecret fortnox_app_clientsecret Onify App Client Secret ******* password fortnox admin

Please contact [email protected] to get the fortnox_app_clientsecret value.

Configuration

Import configuration for forms and flows using the following command;

curl -X POST "<ONIFY-HUB-API-URL>/api/v2/setup/database/config/import" -H "accept: application/json" -H "authorization: <AUTH-TOKEN>" -H "Content-Type: application/json" -d "@./config.json" --insecure

Activate (and authenticate) integration with Fortnox

  • Create activation link for Fortnox (in Onify)
    1. Go to <ONIFY-HUB-APP-URL>/form/fortnox-activate
    2. Enter Redirect URI
    3. Enter Scopes (and modify if needed)
    4. Click Generate activation URL
    5. Click on the generated action link
  • Authenticate user for Onify (in Fortnox)
    1. Enter username and password for Fortnox
    2. Approve access for user and Onify
    3. Fortnox will redirect you to a website that does not exist
    4. Copy the code (eg. 035411fc-ce95-4c4a-bc15-273daf5ddd67) from the url
  • Activate and authenticate Fortnox (in Onify)
    1. Go back to the activation form
    2. Paste the code in Authentication code
    3. Click Activate Onify in Fortnox

For more information about authenticating against Fortnox, please read Authorizing your integration.

Authenticate and refresh access-token

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.

Support

License

This project is licensed under the MIT License - see the LICENSE file for details.

blueprint-fortnox-activate-authenticate's People

Contributors

rolu01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.