fission-codes / auth-lobby

The authentication service that Fission services run.
https://auth.fission.codes
GNU Affero General Public License v3.0
12 stars 1 forks source link

/reset should redirect to /reset/ or show the same view #83

Closed jeffgca closed 3 years ago

jeffgca commented 3 years ago

If I go to /reset I just get the default '/' view. I should see the same view as /reset/ instead.

matheus23 commented 3 years ago

This would be easier to implement if we had https://github.com/ipfs/go-ipfs/issues/7392

jeffgca commented 3 years ago

@matheus23 so you're saying it's not impossible to implement? 💯

...I don't understand how the framework works, but usually route aliases are a built-in feature, no?

bmann commented 3 years ago

It means we have to do a client side redirect, because we can’t rely on the server. Which we should do @matheus23 unless I also am missing something in Elm Land ;)

matheus23 commented 3 years ago

We can totally build this by doing a redirect in javascript. I just wanted to tag the above issue as it would help with this as well :) In other words: In case the above issue gets implemented before we get to this, we should use that, I think.

bmann commented 3 years ago

Native redirects will take a while to get into go-IPFS.

We may be able to get there sooner with our nginx proxy work and do it at that layer.