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.
- The auth0-simulator
/login/callback
is difficult to inspect. We need theclient_id
passed, but it seems safe to pass the wholewctx
object as query strings. - 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.
- 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. Thescope
option now accepts an array of objects to specify specific scopes for specific clients. - 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
- Async rules were not properly processing and would run as a race condition mutating the
user
andcontext
objects. This would mean part of the rule might be applied. This adds some additional wrappers in the rule running to properly handle andawait
on async code.- 013b5db change file on 2022-11-03
- export
createAuth0Server
operation for running Auth0 server standalone.- cd2f869 Export standalone Auth0 creation function on 2022-11-01
- The auth0 simulator
/userinfo
endpoint will fall back to check for theaccess_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
- now exports a
createAuth0Server
operation which can be used directly without starting a Simulacrum server- 875def0 Add change entry on 2022-10-01
- The simulation server can return null events on shutdown, and the logger did not consider this. Check for undefined within the filter.
- add missing @simulacrum/client to auth0 package
- Add cosmiconfig as a dependency to the auth0-simulator
- Add cosmiconfig and zod to @simulacrum/auth0-simulator
- apply @typescript/consistent-types
- Apply rules changes to the accessToken
- Simplify createSimulation and destroySimulation by removing them from the effects.
- wait for simulation to be destroyed before creating a new one
- 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
- Add @simulacrum/auth0-cypress package
- 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
- Increment all of the
effection
and related@effection
packages. There was an issue in@effection/core
withdist
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.
- 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, notemail
field- da75afd add changefile on 2021-08-05
- Add a
debug
option to server that will log errors when createSimulation() fails
- rollback effection to beta-5.
- Bumped due to a bump in @simulacrum/client.
- 793c074 rollback effection to beta-5 on 2021-07-30
- Fix auth0-simulator dependencies in examples
- e2ba50a Fix auth0-simulator dependencies in examples on 2021-07-30
- rename @simualcrum/auth0 to @simualcrum/auth0-simulator
- 089d67f rename @simualcrum/auth0 to @simualcrum/auth0-simulator on 2021-07-27
- Add initial /authorize endpoint.
- Fix public directory resolution in auth0.
- Implement login functionality.
- Add
/v2/logout
and remaining pieces - Add openid endpoints
/.well-known/jwks.json
and/.well-known/openid-configuration
. - Add the initial rules-runner code
- Ensure the same auth0 state exists throughout and fix issuer forward slash issues.
- Add the /oauth/token endpoint that actually issues the jwt.
- Add a handler for
/authorize
forresponse_mode
web_message