{"id":13507446,"url":"https://github.com/borodiychuk/ueberauth_foursquare","last_synced_at":"2026-07-07T16:30:15.157Z","repository":{"id":62430601,"uuid":"78895304","full_name":"borodiychuk/ueberauth_foursquare","owner":"borodiychuk","description":"Foursquare OAuth2 Strategy for Überauth","archived":false,"fork":false,"pushed_at":"2017-03-19T19:01:53.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-10T05:32:25.837Z","etag":null,"topics":["elixir","foursquare","foursquare-oauth2-strategy","oauth2"],"latest_commit_sha":null,"homepage":"","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/borodiychuk.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":"2017-01-13T23:36:15.000Z","updated_at":"2018-11-12T21:08:04.000Z","dependencies_parsed_at":"2022-11-01T20:12:38.640Z","dependency_job_id":null,"html_url":"https://github.com/borodiychuk/ueberauth_foursquare","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodiychuk%2Fueberauth_foursquare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodiychuk%2Fueberauth_foursquare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodiychuk%2Fueberauth_foursquare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borodiychuk%2Fueberauth_foursquare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borodiychuk","download_url":"https://codeload.github.com/borodiychuk/ueberauth_foursquare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232753633,"owners_count":18571554,"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":["elixir","foursquare","foursquare-oauth2-strategy","oauth2"],"created_at":"2024-08-01T02:00:33.840Z","updated_at":"2026-07-07T16:30:14.976Z","avatar_url":"https://github.com/borodiychuk.png","language":"Elixir","funding_links":[],"categories":["Authentication"],"sub_categories":[],"readme":"# Überauth Foursquare\n\nFoursquare OAuth2 strategy for Überauth.\n\n[![Build Status](https://travis-ci.org/borodiychuk/ueberauth_foursquare.svg?branch=master)](https://travis-ci.org/borodiychuk/ueberauth_foursquare) [![Deps Status](https://beta.hexfaktor.org/badge/all/github/borodiychuk/ueberauth_foursquare.svg)](https://beta.hexfaktor.org/github/borodiychuk/ueberauth_foursquare) \n\n\n## Installation\n\n1. Setup your application at [Foursquare Developer](https://developer.foursquare.com/).\n\n1. Add `:ueberauth_foursquare` to your list of dependencies in `mix.exs`:\n\n    ```elixir\n    def deps do\n      [{:ueberauth_foursquare, \"~\u003e 0.1\"}]\n    end\n    ```\n\n1. Add the strategy to your applications:\n\n    ```elixir\n    def application do\n      [applications: [:ueberauth_foursquare]]\n    end\n    ```\n\n1. Add Foursquare to your Überauth configuration:\n\n    ```elixir\n    config :ueberauth, Ueberauth,\n      providers: [\n        foursquare: {Ueberauth.Strategy.Foursquare, []}\n      ]\n    ```\n\n1.  Update your provider configuration:\n\n    ```elixir\n    config :ueberauth, Ueberauth.Strategy.Foursquare.OAuth,\n      client_id:     System.get_env(\"FOURSQUARE_CLIENT_ID\"),\n      client_secret: System.get_env(\"FOURSQUARE_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\n      pipeline :browser do\n        plug Ueberauth\n        ...\n       end\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. You 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\nYou can initial the request through:\n\n    /auth/foursquare\n\n## License\n\nPlease see [LICENSE](https://github.com/borodiychuk/ueberauth_foursquare/blob/master/LICENSE) for licensing details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborodiychuk%2Fueberauth_foursquare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborodiychuk%2Fueberauth_foursquare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborodiychuk%2Fueberauth_foursquare/lists"}