-
Notifications
You must be signed in to change notification settings - Fork 0
Description
This is in reference to the hostURL field in SolidCreds but has implications for my entire auth chain of code for Solid.
The conversation here
https://forum.solidproject.org/t/basic-question-about-url-to-use-when-making-a-request/4605/22
revealed that I can't just use the "host" of a URL for a WebID to get the base url to use when making HTTP requests of a Solid Pod. While this works for https://crspybits.inrupt.net/profile/card#me (i.e., the host component of the URL is https://crspybits.inrupt.net/), it does not work for https://pod.inrupt.com/crspybits/profile/card#me where the host is https://pod.inrupt.com.
There are several actions needed here:
-
In my
iOSSolidpackage, it looks like I need to overtly ask the user for this base URL, in addition to asking for the issuer URL. Not sure what terminology should be used. -
In the current package, I'm not sure about the
Hostheader passed in HTTP requests. I'm not sure if this should be this base URL or if it should truly be the host component. -
I need to run a test of the current package making use of a webid like https://pod.inrupt.com/crspybits/profile/card#me to make sure it works in those cases.