oauthentic icon indicating copy to clipboard operation
oauthentic copied to clipboard

Allow for insecure SSL connections

Open deadprogram opened this issue 12 years ago • 0 comments

Allow for insecure SSL connections, such as self-signed certs, by passing :insecure? true when making token request.

Example:

(fetch-token {:token-url "https://myselfsignedserver.com/oauth/token"
                :client-id (get (System/getenv) "CLIENT_ID")
                :client-secret (get (System/getenv) "CLIENT_SECRET")}
                {:code code
                    :insecure? true
                    :redirect-uri "http://localhost:4567/auth/callback"})

deadprogram avatar Nov 19 '12 00:11 deadprogram