Open bharathidatla opened 5 months ago
Hello @bharathidatla,
It's true that this library still lacks a lot of documentation.. sorry about that. Have you looked at https://github.com/Badisi/auth-js/issues/30 which might contain some useful info ?
Also, you shouldn't be using popup
mode for mobile.
But don't worry, if you use this library, it will enforce all the best practices (so on desktop you will have either redirect
or popup
, and on mobile it will be browser-tab
).
Regarding file download
and photo capture
I'm sorry but I don't see how it relates to oidc-client-ts
.
Because those have nothing in common..
One last thing, it might be time to migrate to Capacitor
, cordova
has been deprecated for years now 😉.
We are using oidc-client-js latest version; it is working well in the web for signin and signout, but coming to Cordova Mobile, signinpopup is working as expected, but signout is not working after signing out; it is redirecting to the post-logout uri of the web in the app instead of the app. We tried to install the oidc-client-ts, but it has other challenges, like file downloading and photo capture. When we were using the oidc-client-ts, those were not working, so we want to try your package that supports both web and mobile Cordova. Can you please suggest the steps for migrating it and how it works for bothWe used signoutredirectcallback. If I am using signoutpopup, it is not working.