rest - What is the flow of creating a third party service which creates public/privet key and other application can use it -


what's proper flow of creating third party service can included in other project? question generic. have understood follows -

  1. the user go third party service's dashboard , create token , save in database against user.
  2. then has include in project. or if calling api of service has include token in header .
  3. it check if token has existed or not in database , if api has correct token in header, return data user.

is correct way? or there other kind of mechanism . reference, want create service using feathers js, retinkdb etc question generic. appreciated.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -