Arcana Auth: Release Notes
Estimated time to read: 2 minutes
Release Date: September 20, 2023
Version: 1.0.11
The Arcana Auth product consists of the following components:
-
Arcana Auth SDK
- Web Apps
- Mobile Apps
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()
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?
SeeArcana Auth Quick Start Guides.
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.10 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.10 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.