{"id":20307406,"url":"https://github.com/oktadev/okta-deno-auth-example","last_synced_at":"2026-05-15T20:02:04.020Z","repository":{"id":45491294,"uuid":"295465132","full_name":"oktadev/okta-deno-auth-example","owner":"oktadev","description":"Deno Authentication Example","archived":false,"fork":false,"pushed_at":"2021-12-10T17:53:39.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-04-21T09:48:46.767Z","etag":null,"topics":["authentication","deno","typescript"],"latest_commit_sha":null,"homepage":"https://developer.okta.com/blog/2020/09/14/deno-with-auth","language":"TypeScript","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/oktadev.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":"2020-09-14T15:52:07.000Z","updated_at":"2022-06-26T18:02:25.000Z","dependencies_parsed_at":"2022-07-15T05:30:44.800Z","dependency_job_id":null,"html_url":"https://github.com/oktadev/okta-deno-auth-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oktadev/okta-deno-auth-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-deno-auth-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-deno-auth-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-deno-auth-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-deno-auth-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-deno-auth-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-deno-auth-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33077924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","deno","typescript"],"created_at":"2024-11-14T17:17:35.273Z","updated_at":"2026-05-15T20:02:03.986Z","avatar_url":"https://github.com/oktadev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Your First Deno App with Authentication\n\nThis is the companion code for [this blog post](https://developer.okta.com/blog/2020/09/14/deno-with-auth). It builds basic OAuth 2.0/OIDC authentication into a Deno application.\n\n**Prerequisites:** \n\n* [Deno](https://deno.land/#installation)\n\n\u003e [Okta](https://developer.okta.com/) has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage and secure users and roles in any application.\n\n* [Getting Started](#getting-started)\n* [Help](#get-help)\n* [License](#license)\n\n## Getting Started\n\nClone this repo:\n\n```sh\ngit clone https://github.com/oktadeveloper/okta-deno-auth-example.git\n```\n\nThis will get a copy of the project locally. \n\n### Create a Free Okta Developer Account\n\nIf you don't have one, [create an Okta Developer account](https://developer.okta.com/signup/). After you've completed the setup process, log in to your account.\n\nCreate a new OIDC app by navigating to **Applications** \u003e **Add Application** \u003e select **Web**, and click **Next**. Fill in the following values:\n\n* Name: `Deno Example`\n* Base URI: `http://localhost:3000`\n* Login redirect URI: `http://localhost:3000/auth/callback`\n* Logout redirect URI: `http://localhost:3000`\n\nClick **Done** to create your app. \n\nCreate a `.env` file in your root directory and copy the client ID and secret into it. You can find the value for `\u003cYOUR_ISSUER\u003e` by navigating to **API** \u003e **Authorization Servers**.\n\n```\nissuer=https://{yourOktaOrgUrl}/oauth2/default\nclientId={yourClientID}\nclientSecret={yourClientSecret}\nredirectUrl=http://localhost:3000/auth/callback\nstate=SuPeR-lOnG-sEcReT\n```\n   \n**NOTE**: Make sure to remove the `{...}` placeholders. Your issuer should look something like: `https://dev-123456.okta.com/oauth2/default`.\n\nYou should now be able to run your app and authentication with Okta:\n\n```\ndeno run -A index.ts\n```\n\n## Get Help\n\nIf you have question about the code here, you can post it to the comments of the [blog post](https://developer.okta.com/blog/2020/09/14/deno-with-auth) or to the [developer forum](https://devforum.okta.com).\n\n## License\n\nApache 2.0, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-deno-auth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-deno-auth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-deno-auth-example/lists"}