Comments (3)
Once an application is installed by an end-user using the installation link (found below the application ID and secret when editing an application), they are shown a token. In order to automatically receive this token without having to interact manually with the customer, there is an option to send a postback on successful installation.
https://help.linnworks.com/a/solutions/articles/7000007340-setting-up-a-basic-external-application
{ "modules": [{ "type": "ExternalApplication", "parameters": [{ "name": "PostbackUrl", "value": "http:\/\/www.google.co.uk?token=[{TOKEN}]&tracking=[{TRACKING}]" }] }] }
The token will be that same token that you can then use in AuthorizeByApplication to create a "session". Tracking is optional, and can be used to ensure which token is for which customer.
from linnworksnetsdk.
- On installation, you will receive a token - static parameter that you will have to pass with application Id and Application Secret (both visible in dev portal) to this call http://apps.linnworks.net/Api/Method/Auth-AuthorizeByApplication
Running the 'AuthorizeByApplication' call will then return you the 'API token' as 'Token'.
Thanks for the explanation. I have a problem because I can't see any token in my end-user account even if I edit the module.
from linnworksnetsdk.
The developer portal also lists all users who have installed an application, along with their "permanent token", which is used in the AuthorizeByApplication call. This is visible in the main "Applications" view when you select an app, in the "Installs" grid at the bottom of the screen.
from linnworksnetsdk.
Related Issues (20)
- Channel Integration Guide Clarity HOT 1
- Dates don't format correctly HOT 2
- .NET: IEnumerable<T> should be used instead of List<T> HOT 1
- .NET: Base classes/interfaces for standard patterns HOT 1
- Issues with channel integration HOT 4
- Having a repository for each language would be a great idea
- error: when i trying to set order customer info
- Update Product Inventory using Product SKU
- Core SDK is getting regular updates whereas Framework SDK hasn't been touched for a year
- Macro Dropbox Upload Not explained HOT 1
- SetExtendedProperties does not work - API Endpoint is expecting an array HOT 1
- not needed conversion HOT 1
- OrdersMethods.UpdateOrderItem - Doesn't update Item Title
- OrderController - GetAvailableFolders
- Api suddenly returns "nothing" for any call. HOT 1
- Move to dotnet core 3.1 (from 2.1) fails to build with System.Data.SqlClient does not exist HOT 2
- Java API HOT 1
- 400 Bad Request when trying to update stock levels HOT 6
- Problems in connecting via SSL and CloudFlare HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linnworksnetsdk.