Show all posts

Show all posts

January 14, 2024

Integrate Auth0 as an Authentication provider

by Gerard Guillemas, 5 min read

This guide will cover using Auth0 as the authentication provider for single-page web applications using SurrealDB as the only backend. In this guide you will learn the following:

  • How to configure Auth0 to issue tokens that can be used with SurrealDB.
  • How to configure SurrealDB to accept tokens issued by Auth0.
  • How to define user-level authorization using SurrealDB scopes.
  • How to authenticate users with Auth0 in a single-page application.
  • How to retrieve and update information from SurrealDB using the authenticated user.

This guide will cover the most general case, in which SurrealDB is the only backend for your application. You can still follow this guide even if you have additional backends, but in that case you may have other options available to request and validate tokens issued by Auth0. Likewise, even if your application is not strictly a Single-Page Application (SPA), you may still follow and benefit from this guide.

Click here to read the guide. Happy reading !

     
Introducing our new monthly release schedule

January 12, 2024

Introducing our new monthly release schedule

We are excited to announce a change in our product release schedule, with a regular monthly release cycle, allowing developers and organisations to build on top of SurrealDB, with predictable timelines for software improvements and fixes.

VART: A Persistent Data Structure For Snapshot Isolation

January 23, 2024

VART: A Persistent Data Structure For Snapshot Isolation

The blog introduces VART, an Immutable Versioned Adaptive Radix Trie, designed for snapshot isolation in databases (surrealKV), exploring isolation levels, concurrency control.

To stay up-to-date with new blog articles, future product releases, and documentation updates, subscribe to our email newsletter below, follow us on Twitter, or follow us on Dev.