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.
1 parent 16edf53 commit fc4aeb3Copy full SHA for fc4aeb3
client/src/components/OAuthDebugCallback.tsx
@@ -46,6 +46,9 @@ const OAuthDebugCallback = ({ onConnect }: OAuthCallbackProps) => {
46
if (storedState) {
47
try {
48
restoredState = JSON.parse(storedState);
49
+ if (typeof restoredState.resource === "string") {
50
+ restoredState.resource = new URL(restoredState.resource);
51
+ }
52
// Clean up the stored state
53
sessionStorage.removeItem(SESSION_KEYS.AUTH_DEBUGGER_STATE);
54
} catch (e) {
0 commit comments