---
title: "JSSアプリからのユーザー認証"
slug: "authenticating-users-from-jss-apps"
abstract: "JSSアプリケーションにおけるSitecoreのセキュリティおよび認証機能を活用する"
---
# JSSアプリからのユーザー認証

Sitecoreセキュリティモデルにより、ユーザーや役割によるコンテンツアクセスの制限、ユーザープロフィールのパーソナライズなどが可能です。これはASPメンバーシップの上に構築されており.NETデフォルトで.ASPXAUTHクッキーを利用しています。

[Sitecoreレイアウトサービス](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/layout-service.html "Layout Service")は、ログインしたユーザーとSitecoreのセキュリティを尊重します。したがって、JSSアプリケーションにおいてSitecoreのセキュリティおよび認証機能を活用できます。

JSSでユーザー認証の方法を学びたいなら、まず [ユーザーと保護されたページを作成する](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/walkthrough--creating-a-user-and-page-for-testing-sitecore-authentication.html "Walkthrough: Creating a user and page for testing Sitecore authentication")ことから始めてください。

また、[Sitecoreに統合されたフェデレーテッド認証を有効にする](https://doc.sitecore.com/xp/ja/developers/hd/19/sitecore-headless-development/enable-sitecore-integrated-federated-authentication.html "Enable Sitecore-integrated federated authentication") こともできます(Sitecore開発が必要です)。