Replies: 1 comment 4 replies
-
Don't know exactly what are you trying to do but if you are using OAuth flow, wouldn't be better to use WebAuthenticator? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Blazor server based website. There is an authentication piece to it that uses OAuth. It works great when I browse to is using any desktop browser. I can log in using my google account or create a username and password and either way once I log in I can close the browser and come back later and I am still logged in.
I am also writing a MAUI mobile app for ios / android / maccatalyst. I have embedded a WebView into a page and browse to this same website.
I can log in and the authentication work, but the next time I run the app I am not logged in anymore.
How can I persist the login in my WebView in this MAUI mobile app?
I used AI to try a lot of things having to do with persisting the cookies and such and none of it is working. This seems like a pretty normal thing to want to do and I am surprised there isn't just a flag I can turn on or that it doesn't already persist the authentication of a website. What am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions