Newer Version Available
Authorization Information for an Org
You can view information for all orgs that you have authorized and the scratch orgs that
you have created.
Use this command to view authentication information about an org.
If you have set a default username, you don’t have to specify the --targetusername parameter. To display the usernames for all the active orgs that you’ve authorized or created, use force:org:list.
If you have set an alias for an org, you can specify it with the --targetusername parameter. This example uses the my-scratch alias.
To get more information, such as the Salesforce DX authentication URL, include the --verbose parameter. However, --verbose displays the Sfdx Auth Url only if you
authenticated to the org using auth:web:login and
not auth:jwt:grant.