{"id":18322730,"url":"https://github.com/labs64/netlicensing-auth0","last_synced_at":"2026-05-15T08:03:45.158Z","repository":{"id":53756212,"uuid":"347620727","full_name":"Labs64/NetLicensing-Auth0","owner":"Labs64","description":"Labs64 NetLicensing / Auth0 Integration","archived":false,"fork":false,"pushed_at":"2021-03-22T07:18:56.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-15T08:42:21.399Z","etag":null,"topics":["aav","auth0","authentication","hacktoberfest","oauth","openid","security","validation"],"latest_commit_sha":null,"homepage":"https://netlicensing.io/wiki/integrations","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Labs64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-14T11:42:08.000Z","updated_at":"2023-09-22T05:07:15.000Z","dependencies_parsed_at":"2022-09-24T06:02:13.169Z","dependency_job_id":null,"html_url":"https://github.com/Labs64/NetLicensing-Auth0","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Auth0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Auth0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Auth0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Auth0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Labs64","download_url":"https://codeload.github.com/Labs64/NetLicensing-Auth0/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055270,"owners_count":21040151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aav","auth0","authentication","hacktoberfest","oauth","openid","security","validation"],"created_at":"2024-11-05T18:25:45.554Z","updated_at":"2026-05-15T08:03:44.776Z","avatar_url":"https://github.com/Labs64.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://user-images.githubusercontent.com/1361258/111084155-45633580-8511-11eb-8612-44829df92513.png\"\u003e\n\n# Labs64 NetLicensing / Auth0 Integration\n\n[Labs64 NetLicensing](https://netlicensing.io) is a first-class solution in the Licensing as a Service (LaaS) sector. Based on open standards, it provides a cost effective, integrated and scalable platform for software vendors and developers who want to concentrate on their product’s core functionality instead of spending resources on developing an own license management software.\n\n## Rule: Enrich user profile with NetLicensing validation\n\nThis rule validates user entitlements using NetLicensing license management services. User e-mail (if available) is being used as a customer identifier.\n\nThe validation result is immediately available in the `user_metadata` property and returns data in the ID token.\n\n## Configuration\n\n### Preconditions\n\n- Valid and active NetLicensing vendor profile; register [here](https://ui.netlicensing.io/#/register)\n- Working Auth0 configuration (incl. test application)\n\n### Configure NetLicensing product\n\n\u003cimg width=\"1143\" alt=\"Screenshot 2021-03-14 at 21 45 01\" src=\"https://user-images.githubusercontent.com/1361258/111084144-41cfae80-8511-11eb-844d-693d5d360927.png\"\u003e\n\n### Configure product module\n\n\u003cimg width=\"1196\" alt=\"Screenshot 2021-03-14 at 21 45 21\" src=\"https://user-images.githubusercontent.com/1361258/111084147-42684500-8511-11eb-98ce-3564a30c6b18.png\"\u003e\n\n### Create Auth0 rule\n\nUse [rule-netlicensing-validate.js](https://github.com/Labs64/NetLicensing-Auth0/blob/master/rule-netlicensing-validate.js) as rule content.\n\n\u003cimg width=\"1450\" alt=\"Screenshot 2021-03-14 at 21 45 53\" src=\"https://user-images.githubusercontent.com/1361258/111084150-43997200-8511-11eb-8a1b-fcaeb685a6fb.png\"\u003e\n\n### Create NetLicensing API Key\n\nNote: recommended API Key role `ROLE_APIKEY_LICENSEE`\n\n\u003cimg width=\"1331\" alt=\"Screenshot 2021-03-14 at 21 47 04\" src=\"https://user-images.githubusercontent.com/1361258/111084154-44ca9f00-8511-11eb-93a5-9e6b426a7193.png\"\u003e\n\n### Required configuration\n\n- `NETLICENSING_API_KEY` - NetLicensing API Key (step 4)\n- `NETLICENSING_PRODUCT_NUMBER` - product number (step 1)\n- `NETLICENSING_PRODUCT_MODULE_NUMBER` - product module number (step 2)\n\n\u003cimg width=\"1109\" alt=\"Screenshot 2021-03-14 at 21 46 07\" src=\"https://user-images.githubusercontent.com/1361258/111084152-44ca9f00-8511-11eb-8c28-8050a3ab0040.png\"\u003e\n\n### Rule flow\n\nCreated and deployed rule will be executed after user login.\n\n\u003cimg width=\"928\" alt=\"Screenshot 2021-03-14 at 21 49 29\" src=\"https://user-images.githubusercontent.com/1361258/111084155-45633580-8511-11eb-8612-44829df92513.png\"\u003e\n\n### Sample user info\n\nEnriched user profile can be retrieved using Auth0 API; see [/userinfo](https://auth0.com/docs/api/authentication#user-profile) endpoint.\nUserinfo response format specified by [OpenID Connect specification](https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse).\n\n```json\n{\n    \"email\": \"user@local.local\",\n    \"https://netlicensing.io/auth0\": {\n        \"id\": null,\n        \"infos\": {\n            \"info\": []\n        },\n        \"items\": {\n            \"hasnext\": null,\n            \"item\": [\n                {\n                    \"list\": [],\n                    \"property\": [\n                        {\n                            \"name\": \"productModuleNumber\",\n                            \"value\": \"MAUTH0\"\n                        },\n                        {\n                            \"name\": \"valid\",\n                            \"value\": \"true\"\n                        },\n                        {\n                            \"name\": \"expires\",\n                            \"value\": \"2021-03-21T20:52:45.867Z\"\n                        },\n                        {\n                            \"name\": \"productModuleName\",\n                            \"value\": \"Subscription module\"\n                        },\n                        {\n                            \"name\": \"licensingModel\",\n                            \"value\": \"Subscription\"\n                        }\n                    ],\n                    \"type\": \"ProductModuleValidation\"\n                }\n            ],\n            \"itemsnumber\": null,\n            \"pagenumber\": null,\n            \"totalitems\": null,\n            \"totalpages\": null\n        },\n        \"signature\": null,\n        \"ttl\": \"2021-03-14T21:02:45.867Z\"\n    },\n    \"name\": \"User\",\n    \"nickname\": \"username\",\n    \"picture\": \"https://avatars.githubusercontent.com/u/1361258?v=4\",\n    \"sub\": \"github|1361258\",\n    \"updated_at\": \"2021-03-14T20:52:45.984Z\"\n}\n```\n\n## Bugs and Feedback\n\nFor bugs, questions and discussions please use the [GitHub Issues](https://github.com/Labs64/NetLicensing-Auth0/issues).\n\n## Links\n\n- *What is Authentication-Authorization-Validation Framework* - https://netlicensing.io/blog/2020/09/24/authenticate-authorize-validate-framework/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabs64%2Fnetlicensing-auth0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabs64%2Fnetlicensing-auth0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabs64%2Fnetlicensing-auth0/lists"}