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
Hi, first of all, thanks for the awesome work you are putting in this project.
I am in the process of including a preflight script for the renewal of the access token used to secure the APIS of my application.
The authentication is provided by FusionAuth, and i should use the following API to perform the renewal.
Note the statement in the docs
Ensure you are sending these parameters as form encoded data in the request body, do not send these parameters in a query string.
Following that specification, i came up with the following solution:
However, this code will not work because URLSearchParams it's not included in the explorer context: running it, it will always yield the error URLSearchParams is not a constructor.
Can URLSearchParams() be added in the context? (I guess FormData() could be added too)
Otherwise the renewal of token that relies on POST with form encoded data will be simply impossible.
The text was updated successfully, but these errors were encountered:
Hi, first of all, thanks for the awesome work you are putting in this project.
I am in the process of including a preflight script for the renewal of the access token used to secure the APIS of my application.
The authentication is provided by FusionAuth, and i should use the following API to perform the renewal.
Note the statement in the docs
Following that specification, i came up with the following solution:
However, this code will not work because
URLSearchParams
it's not included in the explorer context: running it, it will always yield the errorURLSearchParams is not a constructor
.Can
URLSearchParams()
be added in the context? (I guessFormData()
could be added too)Otherwise the renewal of token that relies on POST with form encoded data will be simply impossible.
The text was updated successfully, but these errors were encountered: