Skip to content

Commit

Permalink
change name from client_id to auth_client_id in URL for dwyl/auth#57 …
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Apr 29, 2020
1 parent aa310d2 commit cff36b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth_plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ defmodule AuthPlug do
opts.auth_url <>
"?referer=" <>
URI.encode(baseurl <> conn.request_path) <>
"&client_id=" <> AuthPlug.Token.client_id()
"&auth_client_id=" <> AuthPlug.Token.client_id()

# gotta tell the browser to temporarily redirect to the auth_url with 302
status = 302
Expand Down

0 comments on commit cff36b7

Please sign in to comment.