---
title: Auth Schemes
description: "OpenID Connect ([OIDC](https://namazustudios.com/glossary/oidc/)) is an identity layer built on top of [OAuth2](https://namazustudios.com/glossary/oauth2/). While [OAuth2](https://namazustudios.com/glossary/oauth2/) is generally used for authorization, OpenID Connect extends [OAuth2](https://namazustudios.com/glossary/oauth2/) to include authentication. Basically, [OAuth2](https://namazustudios.com/glossary/oauth2/) tells the client what the [User](https://namazustudios.com/glossary/user/) is allowed to do (authorization), while…"
url: "https://namazustudios.com/docs/namazu-elements-core/user-authentication-sign-in/auth-schemes/auth-schemes/"
updated: "2026-08-13"
category: Namazu Elements Core Features / User Authentication / Sign In / Auth Schemes
---

# Auth Schemes

OpenID Connect ([OIDC](https://namazustudios.com/glossary/oidc/)) is an identity layer built on top of [OAuth2](https://namazustudios.com/glossary/oauth2/). While [OAuth2](https://namazustudios.com/glossary/oauth2/) is generally used for authorization, OpenID Connect extends [OAuth2](https://namazustudios.com/glossary/oauth2/) to include authentication.

Basically, [OAuth2](https://namazustudios.com/glossary/oauth2/) tells the client what the [User](https://namazustudios.com/glossary/user/) is allowed to do (authorization), while OpenID Connect tells the client who the [User](https://namazustudios.com/glossary/user/) is (authentication).

By making the association with an external [id](https://namazustudios.com/glossary/id/) and including a means by which an authorization token can be validated, we can use both [OAuth2](https://namazustudios.com/glossary/oauth2/) and [OIDC](https://namazustudios.com/glossary/oidc/) for authentication within Elements.
