userfront-core icon indicating copy to clipboard operation
userfront-core copied to clipboard

Userfront core JS library

Results 17 userfront-core issues
Sort by recently updated
recently updated
newest added

Calling [Userfront.login()](https://userfront.com/docs/js.html#login-via-passwordless-method) with the `passwordless` or `link` will create a new user if none exists. We want to add the ability to disable this feature and instead return an error...

Snack

It would be nice to have a method or set of methods that return whether the token(s) are expired. The primary goal would be to avoid unnecessary 401 calls. Something...

[`sendLoginLink` returns data](https://github.com/userfront/userfront-core/blob/68aa96c2d8b8f1e11ab01af9aa56e8b461d02bd8/src/signon.js#L272), but [the exported types says it returns void](https://github.com/userfront/userfront-core/blob/68aa96c2d8b8f1e11ab01af9aa56e8b461d02bd8/ts/index.d.ts#L73). Would be great to properly type this function. Thanks :)

Pretty much all methods rely on the `tenantId` being set by `init()`, so we should prevent the call and log a warning if `init()` has not been called yet. E.g....

We want to aid project users as much as possible, and we are offering access tokens that expire relatively quickly. As a result, end users may encounter 401 errors from...

Epic

Mobile safari blocks the cookie. The workaround is to get the results of the call, store them yourself, and specify you don’t want to redirect. It might be helpful to...