-
Notifications
You must be signed in to change notification settings - Fork 10
"Sign in with SkyID" should use the same portal as the Skapp #3
Comments
SkyID uses siasky.net in DevMode by default; when not in DevMode, default skynet-js portal is used (which is again siasky.net). |
@mike76-dev I think Delivator mentioned that the SkyID connect page always opens on siasky.net: Line 89 in 95d372a
I don't know how we can solve this btw. |
Can't you just add Portal option to this.opts? Then you can pass it on to |
Yeah but the thing is that we want to open SkyID on the portal that you're currently using. So if you open https://sky-note.hns.skyportal.xyz we should open the popup with skyportal.xyz url |
So, we can split the problem into two parts:
|
@mike76-dev When I started write this comment I thought it is impossoble, because there are portals running on subdomains, for example https://skynet.tutemwesi.com. But then I realized we already have a code what does something similar. I'll check it out. |
Redsolver's solution: |
That should work. |
I think SkyID already redirects it to domain.hns.siasky.net. I will double-check, thank you! |
It looks like as of right now the
Sign in with SkyID
popup is hard coded to siasky.net.Imo that popup should use the same portal as the Skapp requesting a sign in when possible.
The text was updated successfully, but these errors were encountered: