Skip to content

Commit 30e2717

Browse files
Revert "use standard auth header"
This reverts commit b945ca5.
1 parent b945ca5 commit 30e2717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/auth/src/android/PluginRetriever.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private static JSONArray fetchJsonArray(String urlString, String token) {
126126

127127
// Add auth header if token is present
128128
if (token != null && !token.isEmpty()) {
129-
conn.setRequestProperty("Authorization", "Bearer " + token);
129+
conn.setRequestProperty("x-auth-token", token);
130130
}
131131

132132
int code = conn.getResponseCode();

0 commit comments

Comments
 (0)