Google oAuth
How get clientID and secret key
Auth by native app
Auth with Google oAuth
POST
https://api.directual.com/good/v4/auth
Request Body
Name | Type | Description |
---|---|---|
appID | string | id of your app (go to API → API keys, create key (if there is none) and copy APP_ID) ID |
provider | string | |
code | string | auth code after successful authentication |
clientID | string | clientID google oAuth |
redirect_uri | string | redirect_uri |
Example auth for React js
Install google-login plugin
Insert login button to your LoginPage template, example:
Last updated