Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2 #137

Merged
merged 28 commits into from
Sep 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4b8c311
Update beta version
adamjmcgrath Jun 29, 2020
095d67c
Initial commit of Beta 2 branch
adamjmcgrath Jun 29, 2020
cd655a2
Add PKCE tests and fix multiple servers in tests (#110)
adamjmcgrath Jul 7, 2020
f938e38
[SDK-1714] [SDK-1723] Session cookie checks (#111)
adamjmcgrath Jul 9, 2020
1924a45
[SDK-1715] Configuration and API updates (#109)
adamjmcgrath Jul 9, 2020
4e0aa22
[SDK-1712] Test token set (#108)
adamjmcgrath Jul 9, 2020
678fc27
Add Prettier for style formatting (#112)
adamjmcgrath Jul 13, 2020
18ef1d6
[SDK-1716] Add tests for claim* MW (#113)
adamjmcgrath Jul 14, 2020
e3ce510
Add some tests for session duration behaviour
adamjmcgrath Jul 14, 2020
efd072a
Revert "Add some tests for session duration behaviour"
adamjmcgrath Jul 14, 2020
47480ef
Add some tests for session duration behaviour (#114)
adamjmcgrath Jul 15, 2020
a823a82
Add test for passing custom param to logout (#115)
adamjmcgrath Jul 15, 2020
1a6ecb3
[SDK-1721] Auto generated docs (#117)
adamjmcgrath Jul 21, 2020
4df0b09
Fix incorrect import of `requiresAuth` (#118)
adamjmcgrath Jul 22, 2020
d1982ae
Add TROUBLESHOOTING and update debug logging (#120)
adamjmcgrath Aug 6, 2020
bb2e36a
attemptSilentLogin feature (#121)
adamjmcgrath Aug 7, 2020
6197b66
`postLogoutRedirectUri` isn't always a URI and login needs a check fo…
adamjmcgrath Aug 10, 2020
caf1de4
[SDK-1877] Add refresh method to access token (#124)
adamjmcgrath Aug 10, 2020
14bb336
Scope all cookies (skipSilentLogin, transient and appSession) to the …
adamjmcgrath Aug 12, 2020
15d76dc
[SDK-1722] Architecture (#128)
adamjmcgrath Aug 20, 2020
6d1001d
[SDK-1876] [SDK-1726] Add samples and smoke tests (#127)
adamjmcgrath Aug 25, 2020
c13cfd2
Make the test clearer that discovery alg is ignored (#130)
adamjmcgrath Aug 27, 2020
2ae8d3e
Disallow "none" in any case (#131)
adamjmcgrath Sep 1, 2020
b43323c
[SDK-1914] Add a migration guide for v1 to v2 (#129)
adamjmcgrath Sep 1, 2020
ec5416e
Release 2.0.0-beta.0 (#132)
adamjmcgrath Sep 2, 2020
8b1a966
Fixes the numbering on examples (#136)
davidpatrick Sep 17, 2020
a0f8fb0
chore: update jose and openid-client (#134)
panva Sep 17, 2020
10a787b
Merge branch 'master' into beta-2
adamjmcgrath Sep 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/node:10
- image: circleci/node:12-browsers
environment:
LANG: en_US.UTF-8
steps:
Expand All @@ -26,6 +26,9 @@ jobs:
- run:
name: Run Tests
command: npm run test:ci
- run:
name: Run End to End Tests
command: npm run test:end-to-end
- run:
name: Run Lint
command: npm run lint
Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs
47 changes: 14 additions & 33 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,16 @@
{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"rules": {
"no-useless-escape": 1,
"no-console": 0,
"indent": [
"error",
2,
{ "SwitchCase": 1 }
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single",
{
"avoidEscape": true
}
],
"semi": [
"error",
"always"
]
},
"parserOptions": {
"ecmaVersion": 2018
}
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"rules": {
"no-useless-escape": 1,
"no-console": 0,
"linebreak-style": ["error", "unix"]
},
"parserOptions": {
"ecmaVersion": 2018
}
}
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ staleLabel: closed:stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CHANGELOG.md
coverage
.nyc_output
docs
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"printWidth": 80
}
134 changes: 0 additions & 134 deletions API.md

This file was deleted.

13 changes: 13 additions & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Architecture

## Protect a route

With default config - Implicit Flow with Form Post https://auth0.com/docs/flows/concepts/implicit

![login](./login.png)

## logout flow

With `idpLogout: true`

![login](./logout.png)
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# CHANGELOG

## [2.0.0-beta.0](https://github.com/auth0/express-openid-connect/tree/v2.0.0-beta.0) (2020-08-31)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v1.0.2...v2.0.0-beta.0)

For a full list of breaking changes and migration guide, checkout https://github.com/auth0/express-openid-connect/blob/master/V2_MIGRATION_GUIDE.md

**Breaking Changes**
- postLogoutRedirect and response_type check [#123](https://github.com/auth0/express-openid-connect/pull/123) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Logout returnTo param [#115](https://github.com/auth0/express-openid-connect/pull/115) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Session duration behaviour [#114](https://github.com/auth0/express-openid-connect/pull/114) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Update Session cookie [#111](https://github.com/auth0/express-openid-connect/pull/111) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Configuration and API updates [#109](https://github.com/auth0/express-openid-connect/pull/109) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Update token set [#108](https://github.com/auth0/express-openid-connect/pull/108) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Added**
- attemptSilentLogin feature [#121](https://github.com/auth0/express-openid-connect/pull/121) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add refresh method to access token [#124](https://github.com/auth0/express-openid-connect/pull/124) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Architecture [#128](https://github.com/auth0/express-openid-connect/pull/128) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v1.0.2](https://github.com/auth0/express-openid-connect/tree/v1.0.2) (2020-05-12)
[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v1.0.1...v1.0.2)

Expand Down
Loading