Skip to content

Commit

Permalink
Feature/bmc 22256 apigee calls expecting an access token cookie (#58)
Browse files Browse the repository at this point in the history
* changed the way certificates are uploaded.  We are now uploading the certificate and private key as PEM files

* updating upload portal documentation too

---------

Co-authored-by: ryana-ccbill <[email protected]>
  • Loading branch information
ryanskandal and ryana-ccbill authored Jul 29, 2024
1 parent 75215ca commit 4963371
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions automation/upload_portal_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ def main():
# Add Auth Header by default to all requests.
REQUEST.headers.update({'Authorization': 'Bearer {}'.format(access_token)})

# This seems to be expected as of 26/7/2024
REQUEST.cookies.update({'access_token': access_token})

#Check portal and add it if not present
current_portal = apigee_portal.get_portal(REQUEST, org_name, portal)

Expand Down

0 comments on commit 4963371

Please sign in to comment.