You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The react-spa and preact-spa examples appear to read the wrong query string parameter when checking if aal2 is requested:
constaal2=searchParams.get("aal2")
As far as I can tell the parameter name is "aal", not "aal2", and it will be set to the value "aa2". Either that or the documentation is wrong? The nextjs-spa seems to use the correct parameter:
constaal=String(router.query.aal||"")
Reproducing the bug
Run the react-spa or preact-spa example in a way that aal2 is requried.
Relevant log output
No response
Relevant configuration
No response
Version
n/a
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
The examples also seem to be missing the @ory/client dependency in their package.json (including the nextjs-spa example)
The text was updated successfully, but these errors were encountered:
Preflight checklist
Ory Network Project
No response
Describe the bug
The
react-spa
andpreact-spa
examples appear to read the wrong query string parameter when checking if aal2 is requested:As far as I can tell the parameter name is "aal", not "aal2", and it will be set to the value "aa2". Either that or the documentation is wrong? The
nextjs-spa
seems to use the correct parameter:Reproducing the bug
Run the react-spa or preact-spa example in a way that aal2 is requried.
Relevant log output
No response
Relevant configuration
No response
Version
n/a
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
The examples also seem to be missing the
@ory/client
dependency in theirpackage.json
(including the nextjs-spa example)The text was updated successfully, but these errors were encountered: