part of https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow and need for example sui zklogin enoki https://github.com/MystenLabs/sui/blob/b516d265b27ff69f8fe37946c7c50b522de5e7ac/sdk/enoki/src/EnokiFlow.ts#L123-L126