oauthentic
oauthentic copied to clipboard
Allow for insecure SSL connections
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"})