-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve attribute sharing flow for development setups
This PR improves the following aspects of the attribute sharing flow: * For issuers hosted on `localhost` using the a canister id as a subdomain II will not make a network request to get the canister ID. Instead, the canister id will be parsed from the URL directly. * If the issuer origin provided by the RP and the derivation origin returned by the issuer are the same, then II will not make a lookup to `/.well-known/ii-alternative-origins` as not alternative origin is being used. Both of these changes together make it possible to integrate issuers with II in a local dev setup, by consistently using a canisterId subdomain of `localhost` as the issuer domain.
- Loading branch information
Frederik Rothenberger
committed
Mar 14, 2024
1 parent
6c34591
commit 6ac50b9
Showing
1 changed file
with
44 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters