Skip to content

Why is the SDK asking for Device ID for non-social logins? #43

@Frexuz

Description

@Frexuz

In a new NextJS app, im using the same appId etc as another app that is working, but this one doesn't

W3SSdk.setAuthentication({
  userToken,
  encryptionKey,
});

W3SSdk.execute(
      challengeId,
      (
        error: W3SError | undefined,
        result:
          | (ChallengeResult | SignMessageResult | SignTransactionResult)
          | undefined
      ) => {
        ....
        if (error) {
          console.error(error);
        }

and

      const sdkInstance = new W3SSdk();
      sdkInstance.setAppSettings({
        appId: appId,
      });

<W3SSdkContext.Provider value={sdkInstance}>

error

{message: 'Provided device ID is not found in the system.', code: 155113}

the docs don't mention passing deviceIDs anywhere, unless you're doing a social login, which we are not. Im getting authtoken/encrpytionkey/challengeId via our own backend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions