userfront-core
userfront-core copied to clipboard
Userfront core JS library
> I'm try to use Userfront.tokens.refresh() in @userfront/core' and it works but I'm seeing a ts error Property 'refresh' does not exist on type 'Tokens'. - [ ] Update `Userfront.tokens.refresh()`...
For tenants with `cookieOptionsSetDomain` manually set to `true`, the library will explicitly set the `domain` attribute when setting cookies. This appears to lead to inconsistent behavior between chrome/firefox and safari...
We want a logged in user to be able to update their own email and/or phoneNumber via Core JS. ```js // Should send an verify link by email Userfront.user.updateEmail(email); //...
Once we have an API endpoint for deleting a TOTP identity, add a method here as well. - [ ] `user.deleteTotp()`
Right now, most of the methods have hard-coded error handling and redirects. We should allow passing custom `handleError` and `handleRedirect` methods. ```js async function signupWithPassword({ username, name, email, password, userData,...
We recently added the `options.noResetEmail` flag to the API [here](https://userfront.com/docs/api-client.html#log-in-with-password), and it would be good to have that passed through by Core JS if present: ``` Userfront.login({ method: "password", password:...
Add a `sendEmail` catchall method similar to `login()` & `sendSms()`: ### `login` ```js Userfront.login({ method: "password", email: "[email protected]", password: "testmodepassword", }); ``` ### `sendSms` ```js Userfront.sendSms({ type: "securityCode", to: "+15558675309",...
From an admin: > When a new registers using firefox and clicks in the email confirmation link, the User object as well as the id token stored as cookie still...
Right now, tokens are set automatically and can be read with e.g. `Userfront.tokens.accessToken`. However, this assumes a browser context, so does not work with many SSR applications. It would be...
Hey, I'm exploring userfront as an alternative to Auth0. It looks great! This FR isn't a dealbreaker or anything, but `axios` is pretty heavy now that `fetch` and almost complete...