Skip to content

Latest commit

 

History

History
182 lines (137 loc) · 15.1 KB

CHANGELOG.md

File metadata and controls

182 lines (137 loc) · 15.1 KB

Changelog

[0.10.0]

Enhancements

  • 2a51566 Rebuild Auth0 Simulator on top of the Foundation simulator. This simplifies the configuration required to run it. It also provides some flexibility for the future in handling the data store, and building out other APIs.

[0.9.0]

  • Add the refresh_token flow

[0.8.3]

  • The auth0-simulator /login/callback is difficult to inspect. We need the client_id passed, but it seems safe to pass the whole wctx object as query strings.
    • 6b18117 /login/callback should pass all wctx (#241) on 2022-11-30
  • The auth0-simulator userData does not consider the Auth0 email verification functionality. Set it to true as a default to enable minimal functionality.
    • 547ef7f default auth0 simulator userData email_verified to true on 2022-11-29
  • The login form needs event.preventDefault() to allow the Auth0 library functions to run instead of default form functionality.
    • 046f49f add event.preventDefault() to login form for submit event on 2022-11-29
  • The auth0-simulator uses a logger that was refactored and broke the middleware logging. As a stopgap to the required, involved refactor, log out based on the debug flag.
    • 67e2f7f add stopgap debug in auth0-simulator (#237) on 2022-11-30

[0.8.2]

  • Added specific support for the grant_type client_credentials which is required for machine-to-machine tokens. This grant_type specifically does not run the rules. The scope option now accepts an array of objects to specify specific scopes for specific clients.
    • 4ffde63 support client_credentials grant_type on 2022-11-17
    • 9bb1b43 update change file with note about scope adjustments on 2022-11-23
  • Tweaks the login form so the button is a true form submission button. This allows the form to input validate, and enables all form submission options (enter primarily the addition).
    • fa4a9e2 auth0 submit as form button on 2022-11-21
  • The simulator should consider the audience and client_id passed in the request. The values may be important for logic in user defined rules, and is used in validating the token, e.g. in auth0-react.
    • 86cd7d0 consider client_id and audience in auth0 sim request on 2022-11-16

[0.8.1]

  • Async rules were not properly processing and would run as a race condition mutating the user and context objects. This would mean part of the rule might be applied. This adds some additional wrappers in the rule running to properly handle and await on async code.
    • 013b5db change file on 2022-11-03

[0.8.0]

  • export createAuth0Server operation for running Auth0 server standalone.
    • cd2f869 Export standalone Auth0 creation function on 2022-11-01

[0.7.1]

  • The auth0 simulator /userinfo endpoint will fall back to check for the access_token query parameter if the authorization header is not set.
    • e3c55cd change file on 2022-10-27
  • The auth0 simulator /oauth/token endpoint passes the user data through which is important as input for rules.
    • f039985 pass user data at /oauth/token on 2022-10-31

[0.7.0]

  • now exports a createAuth0Server operation which can be used directly without starting a Simulacrum server
    • 875def0 Add change entry on 2022-10-01

[0.6.3]

  • The simulation server can return null events on shutdown, and the logger did not consider this. Check for undefined within the filter.
    • Bumped due to a bump in @simulacrum/server.
    • 43bb4cf simulation filter may include null, include check (#210) on 2022-08-23

[0.6.2]

  • add missing @simulacrum/client to auth0 package
    • 6b0c7d1 add missing @simulacrum/client to auth0 package (#205) on 2022-04-20

[0.6.1]

  • Add cosmiconfig as a dependency to the auth0-simulator
    • 7bd03b4 add cosmiconfig as a dependency to @simularcurm/auth0-simulator (#203) on 2022-04-20

[0.6.0]

  • Add cosmiconfig and zod to @simulacrum/auth0-simulator
    • 3dfacdc Add Cosmiconfig and zod to @simulacrum/auth0-config (#190) on 2022-04-01

[0.5.1]

  • Make the iat field epoch time.
    • 6e08689 make iat field epoch time (#187) on 2022-03-15

[0.5.0]

  • apply @typescript/consistent-types
  • Apply rules changes to the accessToken

[0.4.1]

  • Simplify createSimulation and destroySimulation by removing them from the effects.
    • Bumped due to a bump in @simulacrum/server.
    • 04d5aaf Simplify createSimulation and destroySimulation (#174) on 2022-01-19
  • wait for simulation to be destroyed before creating a new one
    • Bumped due to a bump in @simulacrum/server.
    • b1412da wait for simulation to be destroyed before creating a new one (#171) on 2022-01-18

[0.4.0]

  • Enable @simulacrum/auth0-cypress to run against nextjs-auth0.
  • Update eslint-config and typescript versions
    • f852573 update eslint-config and typescript on 2021-10-26

[0.3.0]

  • Add @simulacrum/auth0-cypress package
    • cb1ce68 update config.json on 2021-08-04
    • d0d2b33 fix changes file auth0 reference on 2021-08-09
    • 5ddc11e rename remaining cypress-auth0 => auth0-cypress on 2021-08-12
  • Upgrade to effection 2.0
    • 993857e Upgrade to Effection 2.0 on 2021-10-12
    • d0f1cc1 Upgrade effection to latest buffer / stream APIs on 2021-09-30
  • Upgrade effection to 2.0.0-beta.15
    • 938e9bf Upgrade effection on 2021-09-07

[0.2.3]

  • Increment all of the effection and related @effection packages. There was an issue in @effection/core with dist assets and this ensures it won't exist in the user's lock file.
    • 30d575b upgrade past @effection/core dist issue on 2021-08-13
  • Add bin script to auth0-simulator so it can be started via npx.
    • 88292f4 add bin script to enable npx auth0-simulator via #113 on 2021-08-16

[0.2.2]

  • Fix bug where person scenario was not passing parameters down
    • cfe6862 Transparently pass through person scenario on 2021-08-05
  • fix malformed token that had mail field, not email field
    • da75afd add changefile on 2021-08-05
  • Add a debug option to server that will log errors when createSimulation() fails
    • 7db8e11 add changeset on 2021-07-15
    • c2525dc remove redundant task.halt from logging effect on 2021-07-27
    • 6c2f83e add description to change file on 2021-07-30

[0.2.1]

  • rollback effection to beta-5.
    • Bumped due to a bump in @simulacrum/client.
    • 793c074 rollback effection to beta-5 on 2021-07-30

[0.2.0]

  • Fix auth0-simulator dependencies in examples
    • e2ba50a Fix auth0-simulator dependencies in examples on 2021-07-30

[0.1.0]

  • rename @simualcrum/auth0 to @simualcrum/auth0-simulator
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Add initial /authorize endpoint.
    • c27dd61 flesh out /authorize endpoint and add /login stub on 2021-06-29
    • 8caabd3 add /login view on 2021-06-29
    • 7c22f79 flow up until /oauth/token on 2021-06-29
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Fix public directory resolution in auth0.
    • 7ce0767 Fix public directory resolution in auth0 on 2021-07-22
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Implement login functionality.
    • 7c22f79 flow up until /oauth/token on 2021-06-29
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Add /v2/logout and remaining pieces
    • 0430761 add logout route on 2021-07-14
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Add openid endpoints /.well-known/jwks.json and /.well-known/openid-configuration.
    • 1e15e42 Add openid endpoints and . on 2021-07-09
    • b36ca42 fix ./well-known/openid-configuration typo on 2021-07-14
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Add the initial rules-runner code
    • f60f31e add changeset on 2021-07-14
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Ensure the same auth0 state exists throughout and fix issuer forward slash issues.
    • 3487d1b pass state to auth0-js and fix trailing for openid endpoints on 2021-07-27
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Add the /oauth/token endpoint that actually issues the jwt.
    • 258673e add /oauth/token test on 2021-07-07
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
  • Add a handler for /authorize for response_mode web_message
    • 43cbc9c add /authorize web_message handler on 2021-07-08
    • 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27