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 9a6edb9 commit b7b4f64Copy full SHA for b7b4f64
src/GoTrueClient.ts
@@ -362,7 +362,7 @@ export default class GoTrueClient {
362
*/
363
private async _initialize(): Promise<InitializeResult> {
364
try {
365
- const params = parseParametersFromURL(window.location.href)
+ const params = isBrowser() ? parseParametersFromURL(window.location.href) : {}
366
let callbackUrlType = 'none'
367
if (this._isImplicitGrantCallback(params)) {
368
callbackUrlType = 'implicit'
0 commit comments