Skip to content

Commit b860d86

Browse files
authored
Hide bearer token initally in the request from the developer console (#1581)
1 parent f5d4e1d commit b860d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/operations/operation-details/ko/runtime/authorization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ export class Authorization {
144144

145145
const keyHeader = new ConsoleHeader();
146146
keyHeader.name(KnownHttpHeaders.Authorization);
147-
keyHeader.value(accessToken);
148147
keyHeader.description = "Subscription key.";
149148
keyHeader.secret = true;
150149
keyHeader.inputTypeValue("password");
151150
keyHeader.type = "string";
152151
keyHeader.required = true;
152+
keyHeader.value(accessToken);
153153

154154
if(!this.isGraphQL()) {
155155
this.consoleOperation().request.headers.push(keyHeader);

0 commit comments

Comments
 (0)