dfinity / cycles-wallet

DFINITY Cycles Wallet
Apache License 2.0
55 stars 30 forks source link

fix: Redirect authorize endpoint to /index.html #132

Closed adamspofford-dfinity closed 2 years ago

adamspofford-dfinity commented 2 years ago

The wallet serves certified assets, but switching to the certified endpoint directly after authenticating gives the impression that it does not, because it is trying to certify the /authorize endpoint which is implemented by the client side and the canister has no certification for. This change serves /index.html for that endpoint, which can be a certified response to any request, and is what the client-side handling expects anyway.