Accessing SOLID pod from a mobile application


#21

Are you developing iOS or Android? Which language (Swift/ObjC, Java/Kotlin)?


#22

@dprat0821 I am developing in Android and using Java. Right now testing with REST API. Trying to find the authentication header type to log into the POD using REST API rather than a pop-up. If this doesn’t work, i am thinking of using webpage service in android (not sure about this though). Any help on this will be greatly appreciated.


#23

@dprat0821 Did a bit more research on this. It seems that i can use custom chrome tabs in my android app to make a user login to a solid pod. Solid uses WEBID-TLS for its primary authentication and uses a private key stored inside a security certificate received when user logged in (alternate for a bearer token). Right now i am having hard time finding out how to use this private key to write data into my solid pod. I think it might be similar to how solid based web apps communicate with the pod (which i am trying to understand now).


#24

Thats not true anymore. WebID-OIDC is the most common auth mechanism


#25

Thats great. (need to update the git up spec page though - the word “currently implementing” made me to come to that conclusion but good to hear that its already there.

In this case, do you know how can we send a POST request to soild pod with necessary auth information using postman?


#26

Unfortunately I struggled with that myself but did not had the need to follow up on it further. I think webapps eventually get a cookie they use, not sure if JWT or similar is possible as well, but would be interessted myself if someone has a definite answer on that


#27

@moisesj what version of solid are you using? have you tried 5.2.2? It expects an URI extracted from that token.