{"id":21707535,"url":"https://github.com/jenkinsdev/ueberauth_notion","last_synced_at":"2026-04-18T10:36:34.328Z","repository":{"id":146257055,"uuid":"618012496","full_name":"JenkinsDev/ueberauth_notion","owner":"JenkinsDev","description":"An Ueberauth strategy for using Notion to authenticate your users.","archived":false,"fork":false,"pushed_at":"2023-04-10T13:27:32.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-16T04:15:28.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/JenkinsDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2023-03-23T15:15:46.000Z","updated_at":"2023-03-23T15:17:08.000Z","dependencies_parsed_at":"2023-04-21T16:16:49.912Z","dependency_job_id":null,"html_url":"https://github.com/JenkinsDev/ueberauth_notion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JenkinsDev/ueberauth_notion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2Fueberauth_notion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2Fueberauth_notion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2Fueberauth_notion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2Fueberauth_notion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JenkinsDev","download_url":"https://codeload.github.com/JenkinsDev/ueberauth_notion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JenkinsDev%2Fueberauth_notion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278450921,"owners_count":25988882,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-25T22:18:32.270Z","updated_at":"2025-10-05T11:59:09.070Z","avatar_url":"https://github.com/JenkinsDev.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Überauth Notion\n\n[![Module Version](https://img.shields.io/hexpm/v/ueberauth_notion.svg)](https://hex.pm/packages/ueberauth_notion)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/ueberauth_notion/)\n\n\u003e Notion OAuth2 strategy for Überauth.\n\n## Installation\n\n1.  Setup your application by following the [following guide](https://developers.notion.com/docs/create-a-notion-integration).\n\n2.  Add `:ueberauth_notion` to your list of dependencies in `mix.exs`:\n\n    ```elixir\n    def deps do\n      [\n        {:ueberauth_notion, \"~\u003e 0.1.1\"}\n      ]\n    end\n    ```\n\n3.  Add Notion to your Überauth configuration:\n\n    ```elixir\n    config :ueberauth, Ueberauth,\n      providers: [\n        notion: {Ueberauth.Strategy.Notion, []}\n      ]\n    ```\n\n4.  Update your provider configuration:\n\n    ```elixir\n    config :ueberauth, Ueberauth.Strategy.Notion.OAuth,\n      client_id: System.get_env(\"NOTION_CLIENT_ID\"),\n      client_secret: System.get_env(\"NOTION_CLIENT_SECRET\"),\n      redirect_uri: System.get_env(\"NOTION_REDIRECT_URI\")\n    ```\n\n    Or, to read the client credentials at runtime:\n\n    ```elixir\n    config :ueberauth, Ueberauth.Strategy.Github.OAuth,\n      client_id: {:system, \"NOTION_CLIENT_ID\"},\n      client_secret: {:system, \"NOTION_CLIENT_SECRET\"},\n      redirect_uri: {:system, \"NOTION_REDIRECT_URI\"}\n    ```\n\n5.  Include the Überauth plug in your router:\n\n    ```elixir\n    defmodule MyApp.Router do\n      use MyApp.Web, :router\n\n      pipeline :browser do\n        plug Ueberauth\n        ...\n       end\n    end\n    ```\n\n6.  Create the request and callback routes if you haven't already:\n\n    ```elixir\n    scope \"/auth\", MyApp do\n      pipe_through :browser\n\n      get \"/:provider\", AuthController, :request\n      get \"/:provider/callback\", AuthController, :callback\n    end\n    ```\n\n7.  Your controller needs to implement callbacks to deal with `Ueberauth.Auth`\n    and `Ueberauth.Failure` responses.\n\nFor an example implementation see the [Überauth Example](https://github.com/ueberauth/ueberauth_example) application.\n\n## Calling\n\nDepending on the configured url you can initiate the request through:\n\n    /auth/notion\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsdev%2Fueberauth_notion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenkinsdev%2Fueberauth_notion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsdev%2Fueberauth_notion/lists"}