---
title: "React, Vue or Angular, frontend only: try it"
description: "Check that the login, the reload and the sign out work."
url: "/sdk-integration-frontend-try/"
language: "en"
guide: "React, Vue, Angular (frontend only)"
step: "Quickstart step 2 of 3, required"
---

# Try it

Check the whole login in your browser: sign in, reload and sign out.

## Try it

1. **In development (localhost):** Start your app (`npm run dev`, or `npm start` with CRA and Angular) and open it on `localhost`. **In production (your domain):** Deploy your app and open it on your domain, over `https`.
2. Press the Block-Auth button and sign in. The login opens in a popup, or in the same tab if your browser blocks popups. The button turns into your profile menu.
3. Reload the page: you're still signed in.
4. Sign out from the profile menu: the button shows the sign-in again.

**If it does, it works in development.** The last step is [Go live](/sdk-integration-frontend-go-live.md): the same, with your production key and domain.

## If it does not work

- **The login fails right away:** the key and the address don't match. Development keys only work on `localhost`, and Production keys only on your validated domain over `https`. Check that the `apiKey` is the one for this environment.
- **After signing in in the same tab you're back signed out:** Block-Auth sends you back to the root of your app (`/`), which must load your app with the widget config. See [Login with a redirect](/sdk-integration-frontend-redirect.md).
- **After reloading you're signed out:** check that the config has `authEndpoint: false` and that you're on the latest version of the widget package.
- **The button has no styles or the logo is broken:** your server sends a `Content-Security-Policy`. Allow the widget as in [Go live](/sdk-integration-frontend-go-live.md#production-csp).

Next step: [Go live](/sdk-integration-frontend-go-live.md)
