-
Notifications
You must be signed in to change notification settings - Fork 7
Selective Disclosure Flow not clear #94
Comments
You are right, the documentation could be improved a lot there. The callback URL you set there should be a URL that your app declares in the manifest. The easiest way to do things is to use the
This will allow you to get the callback as a simple uport-android-sdk/demoapp/src/main/java/me/uport/sdk/demoapp/request_flows/uPortLoginActivity.kt Line 66 in 86bc920
Of course, the actual callback URL you use should be specific to your app. and it doesn't need to use The names of these methods or their location will probably change in a future release to increase discoverability. |
Thank you, it worked. Although, I was expecting it to just send me back and in fact, I have to select the app. Is it supposed to be like that or did I forgot anything? So now, since the demoapp didn't work for me, I'll fix it and open a PR. then, if possible I would like to help with documentation. Maybe using the riot chat could help, right? |
You have to select the app because you are probably using a
Remember to set the same URL in the It's probably easier to keep the conversation here if the issue is easy to describe. |
Hello, sorry for that. It eventually worked, I was just missing some steps. I'm not familiar with Android and kotlin, so I guess it was only my problem. Let's close it. |
Hello, I'm trying to create a basic mobile app that allows me to do authentication with uPort mobile app. I used demoapp in this repository (fixed some problems it as) and finally managed to make it work.
Now my problem is related to what to do after receiving the token. I was looking at https://developer.uport.me/flows/selectivedisclosure and it was not very clear to me. My current problem is related to https://github.com/uport-project/uport-android-sdk/blob/develop/demoapp/src/main/java/me/uport/sdk/demoapp/request_flows/uPortLoginActivity.kt#L39. Do I need a simples web-app running to catch that callback? If so, how do I send back to my app?
Also, I would like to start helping at least with documentation. How can I do so?
Thank you so much in advance.
The text was updated successfully, but these errors were encountered: