Commit bef2840 1 parent f13aaf9 commit bef2840 Copy full SHA for bef2840
File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## Unreleased
3
+ ## v2.0.0 (2019-07-15)
4
4
5
- ### Bug Fixes
5
+ ### Bug fixes (possibly backwards incompatible)
6
6
7
7
- Ensure that the OAuth client is authenticated via Authorization header as
8
- described in the spec (#131 )
8
+ described in the spec (#131 ).
9
9
10
10
## v1.0.1 (2019-04-12)
11
11
Original file line number Diff line number Diff line change 18
18
19
19
defp deps do
20
20
# Add the dependency
21
- [{:oauth2 , " ~> 1 .0" }]
21
+ [{:oauth2 , " ~> 2 .0" }]
22
22
end
23
23
```
24
24
@@ -170,7 +170,6 @@ defmodule GitHub do
170
170
171
171
def get_token (client, params, headers) do
172
172
client
173
- |> put_param (:client_secret , client.client_secret)
174
173
|> put_header (" accept" , " application/json" )
175
174
|> OAuth2 .Strategy .AuthCode .get_token (params, headers)
176
175
end
Original file line number Diff line number Diff line change 1
1
defmodule OAuth2.Mixfile do
2
2
use Mix.Project
3
3
4
- @ version "1 .0.1 "
4
+ @ version "2 .0.0 "
5
5
6
6
def project do
7
7
[
You can’t perform that action at this time.
0 commit comments