Skip to content

Math3v/ueberauth_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ueberauth Testing Strategy

CircleCI Ebert

Testing Strategy for Ueberauth

Installation

  1. Add :ueberauth_testing to your list of dependencies in mix.exs:

    def deps do
      [{:ueberauth_testing, "~> 1.0"}]
    end
  2. Add Testing to your Ueberauth configuration:

    config :ueberauth, Ueberauth,
      providers: [
        testing: {Ueberauth.Strategy.Testing, []}
      ]
  3. Test your oauth callbacks:

    get(auth_path(conn, :callback, "testing"))

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ueberauth_testing.