{"id":26066403,"url":"https://github.com/frontify/frontify-authenticator","last_synced_at":"2026-04-20T12:02:41.953Z","repository":{"id":68226311,"uuid":"390655362","full_name":"Frontify/frontify-authenticator","owner":"Frontify","description":"Authenticate to your Frontify instance from within any secure web app","archived":false,"fork":false,"pushed_at":"2026-04-13T08:13:57.000Z","size":389,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-13T10:27:15.223Z","etag":null,"topics":["authentication","authenticator","frontity","npm-package"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Frontify.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-29T08:31:13.000Z","updated_at":"2026-04-13T08:14:00.000Z","dependencies_parsed_at":"2026-04-01T18:00:09.167Z","dependency_job_id":null,"html_url":"https://github.com/Frontify/frontify-authenticator","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Frontify/frontify-authenticator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Ffrontify-authenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Ffrontify-authenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Ffrontify-authenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Ffrontify-authenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frontify","download_url":"https://codeload.github.com/Frontify/frontify-authenticator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Ffrontify-authenticator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32046394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["authentication","authenticator","frontity","npm-package"],"created_at":"2025-03-08T20:51:48.627Z","updated_at":"2026-04-20T12:02:41.940Z","avatar_url":"https://github.com/Frontify.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontify Authenticator v2\n\nAuthenticate to your Frontify instance from within any secure web app.\n\n# Install\n\nThere are three possible ways of installing or requiring the Frontify Authenticator v2.\n\n## NPM\n\nInstalling the latest published package on a third party app is as simple as running `npm i @frontify/frontify-authenticator` and requiring the main class either via CommonJs or as an ES module.\n\n```js\n// CommonJs require\nconst FrontifyAuthenticator = require('@frontify/frontify-authenticator');\n```\n\nOR\n\n```js\n// ESM import\nimport { authorize, refresh, revoke } from '@frontify/frontify-authenticator';\n```\n\n## CDN\n\nAlternatively, in case you're not relying on npm packages in your web app, you can also require the minified JS script directly by using a CDN such as UPAKG. You can find the latest [Frontify Authenticator v2 source code](https://unpkg.com/@frontify/frontify-authenticator@latest/dist/index.js) and import it to your project you by requiring it via a `\u003cscript\u003e` HTML element.\n\n```html\n\u003cscript src=\"https://unpkg.com/@frontify/frontify-authenticator@latest/dist/index.js\"\u003e\u003c/script\u003e\n```\n\nYou may want to require a specific version. To do so you only have to change the word `latest` with the specific version you wish to use (ie. v2.0.0).\n\nTo make use of the available methods in the script all you have to do is use the `FrontifyAuthenticator` object reference attached to the `window`.\n\nExample:\n\n```js\nFrontifyAuthenticator.authorize(...);\n```\n\nor\n\n```js\nwindow.FrontifyAuthenticator.authorize(...);\n```\n\n## LOCAL\n\nTo install any package locally doesn't differ greatly from the CDN use case. You can use the [link mentioned above](https://unpkg.com/@frontify/frontify-authenticator@latest/dist/index.js) to download the file contents, save it to your local instance and require via `\u003cscript\u003e` HTML element making the `src` address point to your local file.\n\n```html\n\u003cscript src=\"\u003cPATH_TO_FILE\u003e/\u003cFILENAME\u003e.js\"\u003e\u003c/script\u003e\n```\n\nLike mentioned in the CDN case, if may want to require a specific version, all you have to do is change the word `latest` with the specific version you wish to use (ie. v2.0.0).\n\nYou must be aware that, in this case, the latest code won't be automatically updated so it relies on manual downloads everytime you want to have a new version come into effect within your web app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontify%2Ffrontify-authenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontify%2Ffrontify-authenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontify%2Ffrontify-authenticator/lists"}