---
title: Install villagesql-oauth2 on Linux | Snap Store
description: Get the latest version of villagesql-oauth2 for Linux - vsql_oauth2 extension
  for the VillageSQL snap (content interface)
url: https://snapcraft.io/villagesql-oauth2
---

# villagesql-oauth2

[Alex Lutay (taurus)](https://snapcraft.io/publisher/taurus "View all snaps from Alex Lutay (taurus)")

* [Alex Lutay (taurus)](https://snapcraft.io/publisher/taurus "View all snaps from Alex Lutay (taurus)")

latest/edge 0.0.4

Install latest/edge of villagesql-oauth2

---

**Install using the command line**

```
sudo snap install villagesql-oauth2 --edge
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

villagesql-oauth2 is only available on the unstable edge channel. It could break and change often.

---

### Package name

* villagesql-oauth2

---

### License

* unset

---

### Last updated

* 22 October 2026 - latest/edge

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/villagesql-oauth2#report-snap-modal)

---

* [Description](https://snapcraft.io/villagesql-oauth2#tab-description)
* [Security](https://snapcraft.io/villagesql-oauth2#tab-security)

#### vsql\_oauth2 extension for the VillageSQL snap (content interface)

Packages the upstream vsql-oauth2 extension (JWT-based account
authentication via OAuth2/OIDC (CREATE USER ... IDENTIFIED WITH
vsql\_oauth2)) as a separate snap that plugs into the villagesql snap
through the content interface:

sudo snap install villagesql-oauth2
sudo snap connect villagesql:extensions villagesql-oauth2:extensions
sudo snap set villagesql vsql-allow-preview-extensions=ON
sudo snap restart villagesql
sudo villagesql.mysql -uroot -e "INSTALL EXTENSION vsql\_oauth2;"
sudo villagesql.mysql -uroot
-e "SELECT @@vsql\_oauth2.jwks\_refresh\_interval;"

Preview extension: it uses VEF APIs that may change between VillageSQL
releases and only loads when the server runs with
vsql\_allow\_preview\_extensions=ON.

Needs a villagesql snap built from the repository on or after 2026-10-21:
the 0.0.7 store revisions published before that do not ship the shared
libraries this bundle links against (see docs/extensions.md) and cannot load
it.

---

## Install villagesql-oauth2 on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/villagesql-oauth2/arch)

[### CentOS](https://snapcraft.io/install/villagesql-oauth2/centos)

[### Debian](https://snapcraft.io/install/villagesql-oauth2/debian)

[### elementary OS](https://snapcraft.io/install/villagesql-oauth2/elementary)

[### Fedora](https://snapcraft.io/install/villagesql-oauth2/fedora)

[### KDE Neon](https://snapcraft.io/install/villagesql-oauth2/kde-neon)

[### Kubuntu](https://snapcraft.io/install/villagesql-oauth2/kubuntu)

[### Manjaro](https://snapcraft.io/install/villagesql-oauth2/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/villagesql-oauth2/pop)

[### openSUSE](https://snapcraft.io/install/villagesql-oauth2/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/villagesql-oauth2/rhel)

[### Ubuntu](https://snapcraft.io/install/villagesql-oauth2/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/villagesql-oauth2/raspbian)
