step oauth

NAME

step oauth – authorization and single sign-on using OAuth & OIDC

USAGE

step oauth [–provider=provider] [–client-id=client-id –client-secret=client-secret] [–scope=scope …] [–bare [–oidc]] [–header [–oidc]]

step oauth –authorization-endpoint=authorization-endpoint –token-endpoint=token-endpoint –client-id=client-id –client-secret=client-secret [–scope=scope …] [–bare [–oidc]] [–header [–oidc]]

step oauth [–account=account] [–authorization-endpoint=authorization-endpoint –token-endpoint=token-endpoint] [–scope=scope …] [–bare [–oidc]] [–header [–oidc]]

step oauth –account=account –jwt [–scope=scope …] [–header] [-bare]

OPTIONS

–provider=value, –idp=value
OAuth provider for authentication
–email=value, -e=value
Email to authenticate
–console=value, -c=value
Complete the flow while remaining only inside the terminal
–client-id=value
OAuth Client ID
–client-secret=value
OAuth Client Secret
–account=value
JSON file containing account details
–authorization-endpoint=value
OAuth Authorization Endpoint
–token-endpoint=value
OAuth Token Endpoint
–header=value
Output HTTP Authorization Header (suitable for use with curl)
–oidc=value
Output OIDC Token instead of OAuth Access Token
–bare=value
Only output the token
–scope=value
OAuth scopes
–jwt=value
Generate a JWT Auth token instead of an OAuth Token (only works with service accounts)