next-fortress

This is a Next.js plugin that redirects or rewrite for accesses that are not authenticated.

MIT License

Downloads
219
Stars
45
Committers
3

Bot releases are visible (Hide)

next-fortress - v5.0.1 Latest Release

Published by github-actions[bot] about 2 years ago

5.0.1 (2022-08-16)

Bug Fixes

  • update how cookies are read and extracted from NextCookies (a24d318)
next-fortress - v5.1.0-beta.1

Published by github-actions[bot] over 2 years ago

5.1.0-beta.1 (2022-07-12)

Features

  • improve makeFirebaseInspector by using cache api (c32d3be)
next-fortress - v5.0.0

Published by github-actions[bot] over 2 years ago

5.0.0 (2022-07-11)

Features

  • improve path of imports e.g. `from 'next-fortress/ip' (5d80ff6)
  • support Next.js v12.2 middleware (24d206f)

BREAKING CHANGES

  • Next.js v12.2 has a disruptive change to the middleware.
    See Vercel's documentation for details.
next-fortress - v5.0.0-beta.1

Published by github-actions[bot] over 2 years ago

5.0.0-beta.1 (2022-07-11)

Features

  • improve path of imports e.g. `from 'next-fortress/ip' (5d80ff6)
  • support Next.js v12.2 middleware (24d206f)

BREAKING CHANGES

  • Next.js v12.2 has a disruptive change to the middleware.
    See Vercel's documentation for details.
next-fortress - v4.0.1

Published by github-actions[bot] over 2 years ago

4.0.1 (2022-05-02)

Bug Fixes

next-fortress - v4.0.1-beta.1

Published by github-actions[bot] over 2 years ago

4.0.1-beta.1 (2022-05-02)

Bug Fixes

next-fortress - v4.0.0

Published by github-actions[bot] almost 3 years ago

4.0.0 (2022-01-04)

Features

  • cognito: check cookies strictly by specifying userPoolWebClientIdfeat (4c3ab06)

BREAKING CHANGES

  • cognito: arguments of makeCognitoInspector has been changed
    the second is an object type and specifies the para meter of CognitoUserPool
next-fortress - v4.0.0-beta.1

Published by github-actions[bot] almost 3 years ago

4.0.0-beta.1 (2022-01-04)

Features

  • cognito: check cookies strictly by specifying userPoolWebClientIdfeat (4c3ab06)

BREAKING CHANGES

  • cognito: arguments of makeCognitoInspector has been changed
    the second is an object type and specifies the para meter of CognitoUserPool
next-fortress - v3.2.1

Published by github-actions[bot] almost 3 years ago

3.2.1 (2021-12-21)

Bug Fixes

  • handle fallback on preflight (6599177)
next-fortress - v3.2.1-beta.1

Published by github-actions[bot] almost 3 years ago

3.2.1-beta.1 (2021-12-21)

Bug Fixes

  • handle fallback on preflight (6599177)
next-fortress - v3.2.0

Published by github-actions[bot] almost 3 years ago

3.2.0 (2021-11-22)

Bug Fixes

  • firebase: use importX509 (7816ee1)

Features

  • auth0: fallback based on user status (d5fb481)
  • cognito: fallback based on user status (22f281f)
  • firebase: fallback based on user status, session cookie mode, and custom cookie key (94ba935)
  • prevent redirection loop (7b46b43)
next-fortress - v3.2.0-beta.2

Published by github-actions[bot] almost 3 years ago

3.2.0-beta.2 (2021-11-22)

Bug Fixes

  • firebase: use importX509 (7816ee1)
next-fortress - v3.2.0-beta.1

Published by github-actions[bot] almost 3 years ago

3.2.0-beta.1 (2021-11-22)

Features

  • auth0: fallback based on user status (d5fb481)
  • cognito: fallback based on user status (22f281f)
  • firebase: fallback based on user status, session cookie mode, and custom cookie key (94ba935)
  • prevent redirection loop (7b46b43)
next-fortress - v3.1.0

Published by github-actions[bot] almost 3 years ago

3.1.0 (2021-11-09)

Features

  • auth0: automatically give origin to api endpoints (eca7ae6)
next-fortress - v3.1.0-beta.1

Published by github-actions[bot] almost 3 years ago

3.1.0-beta.1 (2021-11-09)

Features

  • auth0: automatically give origin to api endpoints (eca7ae6)
next-fortress - v3.0.1

Published by github-actions[bot] almost 3 years ago

3.0.1 (2021-11-06)

Bug Fixes

next-fortress - v3.0.0

Published by github-actions[bot] almost 3 years ago

3.0.0 (2021-11-06)

Features

  • upgrade dependencies (jose) (32ad05b)
  • use netmask instead of ip-cidr (31b6529)
  • use the Next.js v12 middleware (c4cc736)
  • verify JWT directly to determine the authentication status (4f01e7a)

BREAKING CHANGES

  • deprecate pages/_fortress and describing the configuration in next.config.js
next-fortress - v3.0.0-beta.2

Published by github-actions[bot] almost 3 years ago

3.0.0-beta.2 (2021-11-06)

Features

  • upgrade dependencies (jose) (32ad05b)
next-fortress - v3.0.0-beta.1

Published by github-actions[bot] almost 3 years ago

3.0.0-beta.1 (2021-11-05)

Features

  • use netmask instead of ip-cidr (31b6529)
  • use the Next.js v12 middleware (c4cc736)
  • verify JWT directly to determine the authentication status (4f01e7a)

BREAKING CHANGES

  • deprecate pages/_fortress and describing the configuration in next.config.js
next-fortress - v2.2.2

Published by github-actions[bot] about 3 years ago

2.2.2 (2021-10-14)

Bug Fixes

  • upgrade dependencies (4705a61)
  • upgrade next.js and update types (32cc8df)