Skip to main content

`<SignedOut />`

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

The SignedOut component renders its default slot only when the user is not authenticated. It is auto-registered by the Nuxt module.

Usage​

Basic Usage​

pages/index.vue
<template>
<SignedOut>
<SignInButton />
</SignedOut>
</template>

Fallback Slot​

Use the fallback slot to show content when the user is signed in:

components/NavBar.vue
<template>
<SignedOut>
<SignInButton />
<template #fallback>
<UserDropdown />
</template>
</SignedOut>
</template>

Slots​

SlotDescription
defaultContent rendered when the user is not authenticated
fallbackContent rendered when the user is authenticated

Was this page helpful?