Skip to content

Commit 67d62e2

Browse files
authored
Merge pull request #812 from GSA/apitoken-header-name
apitoken_header_name = Authorization
2 parents a3fa4ad + 1bd125f commit 67d62e2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ CKAN__AUTH__CREATE_USER_VIA_WEB=false
7272
CKAN__AUTH__ROLES_THAT_CASCADE_TO_SUB_GROUPS=admin
7373
CKAN__AUTH__PUBLIC_USER_DETAILS=false
7474

75+
CKAN___APITOKEN_HEADER_NAME=Authorization
76+
7577
# Xloader Settings
7678
# Even though datapusher is ignored, we still have to include a URL in the config?
7779
CKAN__DATAPUSHER__URL=http://empty.com

config/ckan.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ ckan.auth.create_user_via_web = false
120120
ckan.auth.roles_that_cascade_to_sub_groups = admin
121121
ckan.auth.public_user_details = false
122122

123+
apitoken_header_name = Authorization
124+
123125
## Search Settings
124126
#ckan.site_id = $CKAN_SITE_ID
125127
#solr_url = $CKAN_SOLR_URL

0 commit comments

Comments
 (0)