API :: Navbar

Navbar is the deprecated way to connect with Nexaas ID, created to provide backward compatibility to PassaporteWeb. If your want to connect a new application to Nexaas ID, please look for user widget.

The URL path for navbar is /api/v1/widgets/navbar.js. It returns a Javascript that renders the navbar.

If the user is signed in, its URL requires the access token in a bearer authorization header or in the query string, otherwise the navbar is rendered with a sign in button.

In order to use the navbar, the application page must respect the following CSS:

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

body {
  padding-top: 32px !important;
  margin-top: 0 !important;