{"id":21700370,"url":"https://github.com/articulate/hapi-authentic","last_synced_at":"2025-03-20T15:42:59.861Z","repository":{"id":57098952,"uuid":"140754668","full_name":"articulate/hapi-authentic","owner":"articulate","description":null,"archived":false,"fork":false,"pushed_at":"2019-04-04T15:31:07.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":56,"default_branch":"master","last_synced_at":"2025-03-08T00:02:16.218Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/articulate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-12T19:11:59.000Z","updated_at":"2021-02-11T18:41:05.000Z","dependencies_parsed_at":"2022-08-20T17:31:21.959Z","dependency_job_id":null,"html_url":"https://github.com/articulate/hapi-authentic","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fhapi-authentic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fhapi-authentic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fhapi-authentic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fhapi-authentic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/articulate","download_url":"https://codeload.github.com/articulate/hapi-authentic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244277136,"owners_count":20427309,"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":[],"created_at":"2024-11-25T20:14:08.413Z","updated_at":"2025-03-20T15:42:59.838Z","avatar_url":"https://github.com/articulate.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hapi-authentic\n[![@articulate/hapi-authentic](https://img.shields.io/npm/v/@articulate/hapi-authentic.svg)](https://www.npmjs.com/package/@articulate/hapi-authentic)\n[![Build Status](https://travis-ci.org/articulate/hapi-authentic.svg?branch=master)](https://travis-ci.org/articulate/hapi-authentic)\n\nA hapi 16.x JWT/Bearer auth plugin using [@articulate/authentic](https://github.com/articulate/authentic).\n\n## Use\n\n```javascript\nconst Authentic = require('@articulate/hapi-authentic')\nserver.register(Authentic, err =\u003e {\n  if (err) throw err\n  server.auth.strategy('bearer', 'authentic', { issWhitelist: ['https://iss'] })\n  server.route({\n    method: 'GET',\n    path: '/test',\n    config: {\n      auth: 'bearer',\n      handler: (request, reply) =\u003e\n        reply()\n    }\n  })\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farticulate%2Fhapi-authentic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farticulate%2Fhapi-authentic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farticulate%2Fhapi-authentic/lists"}