Releases: opencollective/auth-simple-oauth-app.js
Releases · opencollective/auth-simple-oauth-app.js
v1.0.1
v1.0.0
1.0.0 (2020-03-06)
Bug Fixes
- package: update universal-user-agent to version 5.0.0 (598b7d2)
- Avoid double requests when retrieving a new token (#37) (165543b)
- handle error response with 200 status code from OAuth endpoint (#23) (a146f84)
- new endpoints requiring Basic Authentication (7043b55)
- package: update @octokit/request to version 5.0.0 (2992cd9)
- package: update @octokit/types to version 2.0.0 (d8036ed)
- package: update universal-user-agent to version 4.0.0 (c8ec93f)
- package: version in published package (7055bfe)
- set explicit
acceptheader forPOST https://github.com/login/oauth/access_token(7358ca9) - token authentication with enterprise baseUrl (7e854f7)
- package: update universal-user-agent to version 3.0.0 (5fe4fa6)
Features
auth.hook()(f93b345)client_{id,_secret}are no longer passed as query, but basic authentication only (#41) (85a04fa)- Allow to pass code/state/redirectUrl to auth() (4c31c42)
- better TypeScript definitions via @octokit/types v2 (feeeb91)
- export types
StrategyOptions,AuthOptions,Authentication(4f98437) - improve TypeScript definitions via @octokit/types (#19) (e6c79fb)
- initial version (275d961)
- initial version (05af5e6)
BREAKING CHANGES
:client_idand:access_tokenURL parameters are no longer set by defaultclient_idandclient_secretare now passed as basic authentication for any URL- The
urloption has been removed forauth({ type: "app" }) auth({ type: "app" })no longer returns a.querykeyauth(options)now only acceptsoptions.typeandoptions.url.options.{code,redirectUrl,state}must now be passed to# auth-oauth-app.js(options)instead