Skip to content

Arcana Auth: Release Notes

Release Date: September 20, 2023

Version: 1.0.10

The Arcana Auth product consists of the following components:

What has changed?

This is a minor release with enhancements and bug fixes only.

Enhancements

Arcana JWT Token

The Arcana Auth SDK now returns an Arcana JWT Token to the app after successful user login.

Compact Login UI

Developers can choose to select a more compact built-in login UI modal that displays all the available, configured login mechanisms for the user to choose from. Set compact: true as the connectOptions while creating a new AuthProvider as shown in the code snippet below:

import { AuthProvider, CHAIN } from '@arcana/auth'

interface ChainConfig {
  chainId: CHAIN
  rpcUrl?: string
}

const auth = new AuthProvider(`${clientId}`, {
  position: 'left',        // default - right
  theme: 'light',          // default - dark
  alwaysVisible: false,    // default - true
  setWindowProvider: true, // default - false
  connectOptions: {
    compact: true // default - false
  },
  chainConfig: {
    chainId: CHAIN.POLYGON_MAINNET,
    rpcUrl: '',
  },
})

await auth.init()
Compact Login UI
Compact Login UI

For more details, see AuthProvider constructor parameters.

Bug Fixes

Email Validation

The email entered by the user in the built-in login UI modal is now validated before initiating a user log in.


Get Started


Ready to dive in?

See Arcana Auth Quick Start Guide in the Getting Started section.

Check out the sample dApp integration examples for various dApp types, wallet connectors and frameworks.

Upgrade to the Latest Arcana Auth SDK


If you have integrated the app with the Arcana Auth SDK v1.0.9 package you can choose to either continue to use it with the latest Arcana Auth product release.

Please note, in case are using an older version of the Arcana Auth SDK prior to v1.0.9 then refer to the appropriate Migration Guides and upgrade to the latest version.

Previous Releases

See the release notes archive for details.

Questions?


Refer to the Arcana Auth FAQ, Troubleshooting Guide, and other developer resources, or contact Arcana Support.


Last update: April 12, 2024 by shaloo, shaloo