Skip to content

circle-ops-ci/AUTH_MOCK_SERVER_JAVASCRIPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Get Started

  • Refer to mock server to integrate CYBAVO AuthSec API.

AUTH API

Refer to here for detailed API documentation.

Mock Server

Setup Configuration

Set following configuration in mockserver.app.conf

Require API code and API secret on web admin console

"api_server_url": "BACKEND_SERVER_URL",
"api_code": "SERVICE_API_CODE",
"api_secret": "SERVICE_API_SECRET"

Register mock server URL

Set notification callback URL on web admin console

Mock server callback URL

http://localhost:8892/v1/mock/callback

To ensure that the service provider has processed the notification callback, the CYBAVO AuthSec API server will continue to send notification callbacks to the service provider until a callback confirmation (HTTP/1.1 200 OK) is received.

How to compile

  • Execute
    • npm install
    • npm start

Required version: node v10.19.0 or later (npm v6.13.4 or later)

CURL Testing Commands

Refer to here for curl testing commands.

Other Language Versions

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors