> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ユーザーに再度同意を求めて、アプリケーションに権限を付与してもらう方法を学びます。

# 拒否された認可権限への対処

ユーザーがアプリケーションを認可する際、一部のプロバイダー (Facebook など) では、共有する属性をユーザー自身が選択できます。

デフォルトでは、この選択が行われるのは、ユーザーが初めてアプリを認可するときだけです。ユーザーが、アプリケーションで必要な特定の属性 (メールアドレスなど) を許可しないことを選んだ場合、そのユーザーはアプリケーションにアクセスできなくなります。

このような場合、ユーザーがログインするには、必要な属性へのアクセスを許可するよう再度求める必要があります。

<div id="re-prompt-for-permissions">
  ## 権限への同意を再度求める
</div>

[Authorization API](https://auth0.com/docs/api/authentication) の [/authorize](https://auth0.com/docs/api/authentication/reference#social) エンドポイントの呼び出し時に **prompt=consent** パラメーターを設定すると、ユーザーにアプリケーションへの権限付与について再度同意を求めることができます。

このパラメーターは、Lock でも [Authentication Parameter](/docs/ja-jp/libraries/lock/lock-authentication-parameters) として **prompt: 'consent'** を指定して設定できます。

また、[Auth0.js](https://github.com/auth0/auth0.js) でも **prompt: 'consent'** を使用して設定できます。

<div id="keep-reading">
  ## さらに読む
</div>

* [Facebookで拒否された権限の扱いについて詳しく見る](https://developers.facebook.com/docs/facebook-login/handling-declined-permissions)
* [GitHubスコープについて詳しく見る](https://developer.github.com/v3/oauth/#scopes)
