affinetform3d
affinetform3d
CDCloudflare Developers
Created by affinetform3d on 9/25/2024 in #pages-help
Dashboard missing preview env variables?
Hi I seem to remember that in the earlier version of the dashboard there was two categories for env variables one for preview and one for the production deployment. Now in the new dashboard I am not able to find the preview variables, only the production ones. Is this expected or am I missing something? Is there a way to view and change the preview variables in the dashboard?
4 replies
CDCloudflare Developers
Created by affinetform3d on 9/9/2024 in #general-help
access groups with nested OIDC claims
Hi, I would like to create an access group in Cloudflare Access based on an OIDC claim that is stored within an object inside an array. For example:
{
"email": "[email protected]",
"oidc_fields": {
"sub": "user-unique-id",
"role": [
{
"description": "role description goes here",
"teamId": "abcd/3412"
}
]
}
}
{
"email": "[email protected]",
"oidc_fields": {
"sub": "user-unique-id",
"role": [
{
"description": "role description goes here",
"teamId": "abcd/3412"
}
]
}
}
I would like to create a rule so that only users who have a specific role description and belong to a specific team will be part of the access group. Users can have multiple roles in various teams, which is why it's an array. I don’t have control over the service providing these values, so I can't change the user identity structure even if I wanted to. Is it possible to access the claim in the "Claim name" section in this case? Thanks in advance for any help!
3 replies