WebOIDCContainer.finishAuthorization() method
Finish authorization
exchangeToken read window.location. It checks if error is present and rejects with OAuthError. Otherwise assume code is present, make a token request.
Signature:
finishAuthorization(): Promise<{
user: User;
state?: string;
}>;
Returns:
Promise<{ user: User; state?: string; }>