# ZROK share presents ADMIN TOKEN instead of token corresponding to share

**URL:** <https://openziti.discourse.group/t/zrok-share-presents-admin-token-instead-of-token-corresponding-to-share/2422>\
**Category:** zrok\
**Created:** [April 12, 2024, 8:15am UTC](https://openziti.discourse.group/t/zrok-share-presents-admin-token-instead-of-token-corresponding-to-share/2422 "2024-04-12T08:15:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkuhlmann](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mkuhlmann](https://openziti.discourse.group/u/mkuhlmann)\
**Post date:** [April 12, 2024, 8:15am UTC](https://openziti.discourse.group/t/zrok-share-presents-admin-token-instead-of-token-corresponding-to-share/2422/1 "2024-04-12T08:15:33Z")

</div>

Hello,

I found some time today to set up a self-hosted ZROK instance.  
First of all: Its awesome and was quite straight forward to get working.  
I now have the following issue:

When I do a "zrok share public" the window that is opening does not present the URL with the correct token. Instead, the ADMIN\_TOKEN is shown. Everything else is working just fine (when I fetch the correct token from the controller logs).

 ![image](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/2X/7/720fdb36dd8cba9c4c790ced56e58ff888e29ae5.png)  
Also this appears to be faulty in the UI:  
 ![image](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/2X/5/5b7ccd92ffbdec291d9d69c36983118177c90e6f.png)

Any idea what I could havbe messed up here?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![mkuhlmann](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mkuhlmann](https://openziti.discourse.group/u/mkuhlmann)\
**Post date:** [April 12, 2024, 1:18pm UTC](https://openziti.discourse.group/t/zrok-share-presents-admin-token-instead-of-token-corresponding-to-share/2422/2 "2024-04-12T13:18:11Z")

</div>

I solved it myself. I misunderstood the installation instructions and replaced "{token}" in the

> zrok admin update frontend 2NiDTRYUww18 --url-template https://{token}.zrok.quigley.com:443

call
