Check user scopes for a provider #497
Answered
by
torresmateo
dgarnitz
asked this question in
Q&A | Troubleshooting
-
hey I need a way to check if for a particular user not only is their auth request complete but did they grant all the scopes. Arcade's auht.status returns the requested scopes but not the granted scopes. Do you have a way to look up in system what scopes you stored for a specific user? |
Beta Was this translation helpful? Give feedback.
Answered by
torresmateo
Jul 17, 2025
Replies: 1 comment
-
This is possible today using something like from arcadepy import Arcade
from dotenv import load_dotenv
load_dotenv()
client = Arcade()
connections = client.admin.user_connections.list() #you will get a paginated list of user connections here You can also call this endpoint: https://reference.arcade.dev/api-reference#tag/admin/get/v1/admin/user_connections You will get a response that looks like this: {
"items": [
{
"connection_id": "string",
"connection_status": "string",
"id": "string",
"provider_description": "string",
"provider_id": "string",
"provider_user_info": null,
"scopes": [
"string"
],
"user_id": "string"
}
],
"limit": 1,
"offset": 1,
"page_count": 1,
"total_count": 1
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
torresmateo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is possible today using something like
You can also call this endpoint: https://reference.arcade.dev/api-reference#tag/admin/get/v1/admin/user_connections
You will get a response that looks like this: