Improve scope environment variable handling
Closed this issue · 2 comments
MichaelGoberling commented
Right now, using the SCOPE environment variable is not intuitive. When requesting one scope, users can submit a single value. However, when requesting multiple scopes, users have to create a secret in their repository where the scopes they'd like to request are enclosed in brackets and double-quoted:
GitHub Secret
["scope1", "scope2"]
Not only should this be documented, but users should be able to create their SCOPE secret with a variety of syntaxes. The following are all reasonable:
scope1,scope2
'scope1','scope2'
['scope1','scope2']
MichaelGoberling commented
Here's a quick PR for updating the README to help users until we make code changes to allow a variety of syntaxes: #40
aiojbot commented
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2548