You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
found this in the playground and the implementation in the source, but nothing else.
How would this be used and where is it expected to get the AccessToken or RefreshToken from? I it working together with the CookieManager or the UseCookies(? but seems like only available on WebAssembly if I read the docs correctly...
Would need some AccessToken RefreshToken management also on e.g. Desktop...
Found no real how to use cookies even in its own "how to" article here 🤔 https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Authentication/HowTo-Cookies.html
am I missing something? Dont we need to get it through any constructor - DI and use it somehow? If we need, and the above linked article "Working with Cookies" is not up to date, would be great if someone could tell me how to use that.
I would understand this as: "If you register e.g. webAuth customAuth or oidc, we will not attach Token handling" while those would be kind of essential, for all of them, or not?
I think my oAuth2 would need them so the user would not been asked again to Grant acces each time he starts his app...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
uno.extensions/samples/Playground/Playground/AppHost.cs
Line 47 in 48d100b
found this in the playground and the implementation in the source, but nothing else.
How would this be used and where is it expected to get the AccessToken or RefreshToken from? I it working together with the CookieManager or the
UseCookies(? but seems like only available on WebAssembly if I read the docs correctly...Would need some AccessToken RefreshToken management also on e.g. Desktop...
https://platform.uno/docs/articles/features/working-with-cookies.html
seems like its used in the WebAuth Extensions
https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Authentication/HowTo-WebAuthentication.html
but thats not available on Desktop target - unoplatform/uno.templates#1665
Dont we have WebView on Desktop? 🤔
Found no real how to use cookies even in its own "how to" article here 🤔
https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Authentication/HowTo-Cookies.html
am I missing something? Dont we need to get it through any constructor - DI and use it somehow? If we need, and the above linked article "Working with Cookies" is not up to date, would be great if someone could tell me how to use that.
just from this lines here:
uno.extensions/src/Uno.Extensions.Authentication/HostBuilderExtensions.cs
Lines 125 to 150 in 48d100b
I would understand this as: "If you register e.g. webAuth customAuth or oidc, we will not attach Token handling" while those would be kind of essential, for all of them, or not?
I think my oAuth2 would need them so the user would not been asked again to Grant acces each time he starts his app...
Beta Was this translation helpful? Give feedback.
All reactions