Skip to content

Commit af9859b

Browse files
Update api docs comments
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent 2cb7f8f commit af9859b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/get_user_from_token_go.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# on local (non remote) computer: ~/get_oauth_token.sh (or ~/get_oauth_token_prod.sh) (will open browser, authenticate to LF, and return token data)
99
# edit 'cla-backend-go/cmd/server.go' - look for "LG: to test with manual tokens", then 'cla-backend-go/auth/authorizer.go': LG: to allow local testing", then run ./bin/cla
1010
# then TOKEN='value from the get_oauth_token.sh script' DEBUG='' ./utils/get_user_from_token_go.sh
11+
# DEBUG=1 API_URL='https://api-gw.dev.platform.linuxfoundation.org/cla-service' TOKEN='...' ./utils/get_user_from_token_go.sh
12+
# DEBUG=1 API_URL='http://localhost:5001/cla-service' TOKEN='...' ./utils/get_user_from_token_go.sh
1113

1214
if [ -z "$TOKEN" ]
1315
then

0 commit comments

Comments
 (0)