We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42aa95b + b72e3c1 commit 861812eCopy full SHA for 861812e
client/src/lib/auth.ts
@@ -157,17 +157,10 @@ export class InspectorOAuthClientProvider implements OAuthClientProvider {
157
}
158
159
saveClientInformation(clientInformation: OAuthClientInformation) {
160
- // Remove client_secret before storing (not needed after initial OAuth flow)
161
- const safeInfo = Object.fromEntries(
162
- Object.entries(clientInformation).filter(
163
- ([key]) => key !== "client_secret",
164
- ),
165
- ) as OAuthClientInformation;
166
-
167
// Save the dynamically registered client information to session storage
168
saveClientInformationToSessionStorage({
169
serverUrl: this.serverUrl,
170
- clientInformation: safeInfo,
+ clientInformation,
171
isPreregistered: false,
172
});
173
0 commit comments