# Not working verifyOwner function

**URL:** <https://gov.near.org/t/not-working-verifyowner-function/34750>\
**Category:** Engineering Updates\
**Created:** [May 30, 2023, 4:25am UTC](https://gov.near.org/t/not-working-verifyowner-function/34750 "2023-05-30T04:25:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![myunggyuns](https://dub1.discourse-cdn.com/flex005/user_avatar/gov.near.org/myunggyuns/32/46921_2.png) [@myunggyuns](https://gov.near.org/u/myunggyuns)\
**Post date:** [May 30, 2023, 4:25am UTC](https://gov.near.org/t/not-working-verifyowner-function/34750/1 "2023-05-30T04:25:09Z")

</div>

Hi,  
To log in Near protocol, I use wallet selector. I get the account ID and public Key from near-wallet  
And then I want to get the signature from wallet.verifyOwner() but I can’t.  
When i call it, it move to 404 near page.

```auto
const wallet = await selector.wallet();
      const accounts = await wallet.signIn({ contractId: 'peters2.testnet', accounts: [] });
      console.log('!!!', wallet, accounts);
      const account = await wallet.getAccounts();
      console.log('@@@@', account);
      const owner = await wallet.verifyOwner({
        message: 'test message for verification',
      });

      if (owner) {
        alert(`Signature for verification: ${JSON.stringify(owner)}`);
      }

```

Did i miss something?

---

<div class="post-metadata">

**Author:** ![chi.ha](https://dub1.discourse-cdn.com/flex005/user_avatar/gov.near.org/chi.ha/32/46388_2.png) [@chi.ha](https://gov.near.org/u/chi.ha)\
**Post date:** [May 30, 2023, 5:54am UTC](https://gov.near.org/t/not-working-verifyowner-function/34750/2 "2023-05-30T05:54:47Z")

</div>

Hi there, you might want to try the dev-support channel in [Near Discord](https://near.chat) for this question since the devs are more active there. There will be members here to chime in as well but it might take longer.

---

<div class="post-metadata">

**Author:** ![myunggyuns](https://dub1.discourse-cdn.com/flex005/user_avatar/gov.near.org/myunggyuns/32/46921_2.png) [@myunggyuns](https://gov.near.org/u/myunggyuns)\
**Post date:** [May 30, 2023, 6:20am UTC](https://gov.near.org/t/not-working-verifyowner-function/34750/3 "2023-05-30T06:20:43Z")

</div>

Hi  
How to access Near Discord?  
I can’t find Near the Bos server

---

<div class="post-metadata">

**Author:** ![chi.ha](https://dub1.discourse-cdn.com/flex005/user_avatar/gov.near.org/chi.ha/32/46388_2.png) [@chi.ha](https://gov.near.org/u/chi.ha)\
**Post date:** [May 30, 2023, 6:22am UTC](https://gov.near.org/t/not-working-verifyowner-function/34750/4 "2023-05-30T06:22:15Z")

</div>

You can use this link: [Discord](https://discord.gg/C7juJfAzhW) then head to dev-support channel
