The Open Source Firebase Alternative with GraphQL.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
useAuthenticationStatus
hook now returns the number of attempts to get an access token from the server connectionAttempts
.Published by github-actions[bot] about 2 years ago
useAuthenticationStatus
composable now returns the number of attempts to get an access token from the server connectionAttempts
.Published by github-actions[bot] about 2 years ago
nhost.auth.getAuthenticationStatus
function now returns the number of attempts to get an access token from the server connectionAttempts
.nhost.auth.signIn
to allow anonymous sign-innhost.auth.signIn()
now triggers an anonymous sign-in.Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
3ced63ab: Retry the token import when starting offline
When using auto-sign-in and the user client stored a refresh token, it now retries to get an access token from the server until the server can be reached and did not return an internal error.
The five first attempts occur every second, then occur every five seconds.
When offline, it means nhost.auth.isAuthenticatedAsync()
won't resolve until the user is online. In that case, use a conjunction of nhost.auth.getAuthenticationStatus()
and nhost.auth.onAuthStateChanged
.
nhost.auth.signIn
to allow anonymous sign-innhost.auth.signIn()
now triggers an anonymous sign-in.predictableActionArguments
warningPublished by github-actions[bot] about 2 years ago
1e31a956: read nextjs context cookies in createServerSideClient
8eafa198: Fix createServerSideClient
The refresh token was not fetched from the cookie when using createServerSideClient
since this PR.
It is now fixed.
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
739a3c45: Sign up with an email and a security key.
const { error, session } = await nhost.auth.signUp({
email: '[email protected]',
securityKey: true
})
if (error) {
console.log(error)
} else if (session) {
console.log(session.user)
} else {
console.log(
'You need to verify your email address by clicking the link in the email we sent you.'
)
}
Published by github-actions[bot] about 2 years ago