signin:AuthorizeOAuth2Access

Read

signin:AuthorizeOAuth2Access is a Read access-level action in the signin service. Grants permission to authenticate through a browser and obtain an OAuth 2.0 authorization code for credential exchange

Resource types

ARNs that signin:AuthorizeOAuth2Access can be scoped to in an IAM policy.

arn:${Partition}:signin:::console/${ConsoleName}
console
arn:${Partition}:signin:${Region}:${Account}:oauth2/public-client/localhost
oauth2-public-client-localhost
arn:${Partition}:signin:${Region}:${Account}:oauth2/public-client/remote
oauth2-public-client-remote

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows signin:AuthorizeOAuth2Access. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSigninAuthorizeOAuth2Access",
      "Effect": "Allow",
      "Action": "signin:AuthorizeOAuth2Access",
      "Resource": "*"
    }
  ]
}

Related actions in signin

View all signin actions →