{"_id":"5b468ad564ebb10003093c82","project":"568bdc1483d2061900d86cdc","version":{"_id":"59a72290d61777001b6c42c3","project":"568bdc1483d2061900d86cdc","__v":33,"createdAt":"2017-08-30T20:39:44.453Z","releaseDate":"2017-08-30T20:39:44.453Z","categories":["59a7236e3fe4d90025117c10","59a72eb6cb0db3001b84cfe2","59a734eb757d030019b85af8","59c0243b1b2d07001a9d2b76","59c035e42126e10028effb12","59c06c40df5b3c0010584a13","59c1a5852cabe5002641a3e7","59c2fb00b2b45c0010b7a3d7","59c32ceb9aea850010ac4130","59c32e6e190c90003cb0d12f","59c33affb2b45c0010b7aa23","59c7dfa457bd8200105444dc","59c7e975c50cf30010d712a0","59cffdef0cd4dd0010294d54","59d0622ca91a810032c8f60c","59d06733c1aec60026253065","59d174d44ac471001a07b123","59d5a5e323e6e800103defb2","59ecf1d8ed507c001c52b255","59f76fef8581dc0010593e6f","5a0c003680a35b0012c35db0","5a8358722e78660075e45f42","5a846645b5ec3a001203517e","5b258091bc7a6700033b9cb5","5b26e48e024807000315a740","5b44edff3306680003663f5c","5b468abd3d4a9e0003789111","5b468d8f3dcb6a0003c6e374","5b47b0b93d4a9e000378a33a","5b538d114ea24f00033c726f","5b6a0efe402b32000336c33f","5bba5e5d7ba7710003bd902a","5bc2703349ac3a0013eec3e5"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"0.0.0","version":"0"},"category":{"_id":"5b468d8f3dcb6a0003c6e374","project":"568bdc1483d2061900d86cdc","version":"59a72290d61777001b6c42c3","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-07-11T23:06:55.517Z","from_sync":false,"order":11,"slug":"security","title":"Security"},"user":"5a6a26281895510045b2cd40","githubsync":"","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-07-11T22:55:17.386Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"# Install the Auth0 Conduit on the Droplit Portal\n\n1. Login to the [Droplit portal](https://portal.droplit.io/).\n2. Navigate to _Security_, and select _Auth0_.\n3. Select _Install_.\n4. Open a new tab before moving on to the next section; information will be both entered into and extracted from the portal. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f9b800f-portalNoFill.png\",\n        \"portalNoFill.png\",\n        1280,\n        720,\n        \"#1c1c1d\"\n      ],\n      \"caption\": \"The page for the Auth0 conduit on the Droplit portal immediately after it is first installed.\"\n    }\n  ]\n}\n[/block]\n# Create an Auth0 Client\n\n1. Login to the [Auth0 management portal](https://manage.auth0.com/).\n2. In the sidebar, select _Applications_.\n3. Select _CREATE APPLICATION_.\n4. Enter an appropriate name for the application, select _Regular Web Applications_, and select _CREATE_.\n5. Within the configuration page of the new application (_Applications_ > _demoApp_), select the _Settings_ tab.\n6. Set the _Token Endpoint Authentication Method_ to `Post`, just as it says in the portal.\n7. From the Droplit portal, copy the \"Allowed Callback URLs\", and paste them into the \"Allowed Callback URLs\" field on the Auth0 page.\n8. Select _SAVE CHANGES_ at the bottom of the page.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/e7a2f28-methodCallback.png\",\n        \"methodCallback.png\",\n        1280,\n        720,\n        \"#dddcdc\"\n      ],\n      \"caption\": \"The \\\"Token Endpoint Authentication Method\\\" and \\\"Allowed Callback URLs\\\" fields correctly filled in with the information from the Droplit portal.\"\n    }\n  ]\n}\n[/block]\n## (Optional) Enable Service Providers\n\nEnabling service providers allows users to authenticate with third party services, such as Facebook or Google.\n\n1. In the sidebar, select _Connections_, then, from the dropdown, select _Social_.\n2. Enable providers as you wish, configuring each one.\n\n# Integrate Auth0 With Droplit\n\n1. Within the configuration page of the new application (_Applications_ > _demoApp_), select the _Settings_ tab.\n2. Copy the _Domain_, _Client Id_, and _ Client Secret_ from the Auth0 application page to their corresponding fields for \"Regular Web Application Settings\" in the Auth0 Integration page on the Droplit portal.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/b461464-auth0Info.png\",\n        \"auth0Info.png\",\n        1280,\n        720,\n        \"#e8e8e8\"\n      ],\n      \"caption\": \"The Auth0 application page containing the information needed by the Droplit portal.\"\n    }\n  ]\n}\n[/block]\n3. On the Droplit portal, select _Save & apply_.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/0c3ecca-portalFill.png\",\n        \"portalFill.png\",\n        1280,\n        720,\n        \"#1c1c1d\"\n      ],\n      \"caption\": \"The Auth0 Integration page on the Droplit portal with the fields properly filled out.\"\n    }\n  ]\n}\n[/block]","excerpt":"Integrate an Auth0 client with the Droplit Auth0 conduit.","slug":"auth0","type":"basic","title":"Auth0"}

Auth0

Integrate an Auth0 client with the Droplit Auth0 conduit.

# Install the Auth0 Conduit on the Droplit Portal 1. Login to the [Droplit portal](https://portal.droplit.io/). 2. Navigate to _Security_, and select _Auth0_. 3. Select _Install_. 4. Open a new tab before moving on to the next section; information will be both entered into and extracted from the portal. [block:image] { "images": [ { "image": [ "https://files.readme.io/f9b800f-portalNoFill.png", "portalNoFill.png", 1280, 720, "#1c1c1d" ], "caption": "The page for the Auth0 conduit on the Droplit portal immediately after it is first installed." } ] } [/block] # Create an Auth0 Client 1. Login to the [Auth0 management portal](https://manage.auth0.com/). 2. In the sidebar, select _Applications_. 3. Select _CREATE APPLICATION_. 4. Enter an appropriate name for the application, select _Regular Web Applications_, and select _CREATE_. 5. Within the configuration page of the new application (_Applications_ > _demoApp_), select the _Settings_ tab. 6. Set the _Token Endpoint Authentication Method_ to `Post`, just as it says in the portal. 7. From the Droplit portal, copy the "Allowed Callback URLs", and paste them into the "Allowed Callback URLs" field on the Auth0 page. 8. Select _SAVE CHANGES_ at the bottom of the page. [block:image] { "images": [ { "image": [ "https://files.readme.io/e7a2f28-methodCallback.png", "methodCallback.png", 1280, 720, "#dddcdc" ], "caption": "The \"Token Endpoint Authentication Method\" and \"Allowed Callback URLs\" fields correctly filled in with the information from the Droplit portal." } ] } [/block] ## (Optional) Enable Service Providers Enabling service providers allows users to authenticate with third party services, such as Facebook or Google. 1. In the sidebar, select _Connections_, then, from the dropdown, select _Social_. 2. Enable providers as you wish, configuring each one. # Integrate Auth0 With Droplit 1. Within the configuration page of the new application (_Applications_ > _demoApp_), select the _Settings_ tab. 2. Copy the _Domain_, _Client Id_, and _ Client Secret_ from the Auth0 application page to their corresponding fields for "Regular Web Application Settings" in the Auth0 Integration page on the Droplit portal. [block:image] { "images": [ { "image": [ "https://files.readme.io/b461464-auth0Info.png", "auth0Info.png", 1280, 720, "#e8e8e8" ], "caption": "The Auth0 application page containing the information needed by the Droplit portal." } ] } [/block] 3. On the Droplit portal, select _Save & apply_. [block:image] { "images": [ { "image": [ "https://files.readme.io/0c3ecca-portalFill.png", "portalFill.png", 1280, 720, "#1c1c1d" ], "caption": "The Auth0 Integration page on the Droplit portal with the fields properly filled out." } ] } [/block]