{"id":29633616,"url":"https://github.com/bianchidotdev/ueberauth_tidal","last_synced_at":"2025-07-21T14:05:48.571Z","repository":{"id":291335092,"uuid":"977266575","full_name":"bianchidotdev/ueberauth_tidal","owner":"bianchidotdev","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-11T22:47:10.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T23:25:59.904Z","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/bianchidotdev.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}},"created_at":"2025-05-03T19:57:37.000Z","updated_at":"2025-05-11T22:46:34.000Z","dependencies_parsed_at":"2025-05-04T00:19:47.190Z","dependency_job_id":"4bcdfd2d-b1ef-4d6e-ae7c-c5ccbc085e80","html_url":"https://github.com/bianchidotdev/ueberauth_tidal","commit_stats":null,"previous_names":["bianchidotdev/ueberauth_tidal"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bianchidotdev/ueberauth_tidal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianchidotdev%2Fueberauth_tidal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianchidotdev%2Fueberauth_tidal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianchidotdev%2Fueberauth_tidal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianchidotdev%2Fueberauth_tidal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bianchidotdev","download_url":"https://codeload.github.com/bianchidotdev/ueberauth_tidal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianchidotdev%2Fueberauth_tidal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266315763,"owners_count":23909802,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":"2025-07-21T14:05:47.670Z","updated_at":"2025-07-21T14:05:48.558Z","avatar_url":"https://github.com/bianchidotdev.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Überauth Tidal\n\n\u003e Tidal OAuth2 strategy for [Überauth](https://github.com/ueberauth).\n\n## Installation\n\n1. Setup your application at the [Tidal Developer Console](https://developer.tidal.com/dashboard).\n\n1. Add `:ueberauth_tidal` to your list of dependencies in `mix.exs`:\n\n   ```elixir\n   def deps do\n     [{:ueberauth_tidal, \"~\u003e 0.1\"}]\n   end\n   ```\n\n1. Add the strategy to your applications in `mix.exs`::\n\n   ```elixir\n   def application do\n     [applications: [:ueberauth_tidal]]\n   end\n   ```\n\n1. Fetch the dependencies\n\n   ```elixir\n   mix deps.get\n   ```\n\n1. Add Tidal to your Überauth configuration in `config/config.exs`::\n\n   ```elixir\n   config :ueberauth, Ueberauth,\n     providers: [\n       tidal: {Ueberauth.Strategy.Tidal, []}\n     ]\n   ```\n\n1. Update your provider configuration in `config/[dev|test|prod].exs`.\n   Make sure to add your JSON serlializer of choice:\n\n   ```elixir\n   config :ueberauth, Ueberauth.Strategy.Tidal.OAuth,\n     client_id: System.get_env(\"TIDAL_CLIENT_ID\"),\n     client_secret: System.get_env(\"TIDAL_CLIENT_SECRET\")\n   ```\n\n1. Include the Überauth plug in your controller:\n\n   ```elixir\n   defmodule MyApp.AuthController do\n     use MyApp.Web, :controller\n     plug Ueberauth\n     ...\n   end\n   ```\n\n1. 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\n1. Your controller needs to implement callbacks to deal with `Ueberauth.Auth` 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 initial the request through:\n\n    /auth/tidal\n\nOr with options:\n\n    /auth/tidal?scope=...\u0026show_dialog=true\n\nBy default the requested scope is \"user.read\". Scope can be configured either explicitly as a `scope` query value on the request path or in your configuration:\n\n```elixir\nconfig :ueberauth, Ueberauth,\n  providers: [\n    tidal: {Ueberauth.Strategy.Tidal, [default_scope: \"user.read playlist.read\"]}\n  ]\n```\n\n## TODO\n* Make Jason not required\n\n## License\n\nPlease see [LICENSE](https://github.com/bianchidotdev/ueberauth_tidal/blob/master/LICENSE) for licensing details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbianchidotdev%2Fueberauth_tidal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbianchidotdev%2Fueberauth_tidal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbianchidotdev%2Fueberauth_tidal/lists"}