Your use case
Summary
We had a problem while authenticating via browser due to differences of work mechanisms of browsers. I.e. when I try to login with Brave browser, it had different caching mechanisms and it caused crashing in the app or missing required tokens like CSRF.
Auth in the app without referring to webview
So we do realize that web mechanisms could be different and it creates more difficulty to handle those scenarios. In the end, my idea is here:
We could implement authentication within the app via REST or JWT tokens to avoid webview related problems like caching issues wheras CSRF goes missing with every load.
I do acknowledge that this may be a huge effort and as I'm only getting started to learn more about matrix and its components around it, I'd like to do my own research on this and somehow be able to help. I might be lacking references, so please can you give me some pointers to documentations?
Have you considered any alternatives?
A copy-pasta from above: "We could implement authentication within the app via REST or JWT tokens to avoid webview related problems like caching issues wheras CSRF goes missing with every load."
Additional context
Are you willing to provide a PR?
Yes
Your use case
Summary
We had a problem while authenticating via browser due to differences of work mechanisms of browsers. I.e. when I try to login with Brave browser, it had different caching mechanisms and it caused crashing in the app or missing required tokens like CSRF.
Auth in the app without referring to webview
So we do realize that web mechanisms could be different and it creates more difficulty to handle those scenarios. In the end, my idea is here:
We could implement authentication within the app via REST or JWT tokens to avoid webview related problems like caching issues wheras CSRF goes missing with every load.
I do acknowledge that this may be a huge effort and as I'm only getting started to learn more about matrix and its components around it, I'd like to do my own research on this and somehow be able to help. I might be lacking references, so please can you give me some pointers to documentations?
Have you considered any alternatives?
A copy-pasta from above: "We could implement authentication within the app via REST or JWT tokens to avoid webview related problems like caching issues wheras CSRF goes missing with every load."
Additional context
Are you willing to provide a PR?
Yes