Auth0 Integration with Uno Platform #16565
Unanswered
vivara-keithpatton
asked this question in
Q&A
Replies: 1 comment
-
same issue here. I set up OidcAuthentication in appsettings.json file, and setup auth0 credentials, I got False on macos due to storage issue and app crashed: https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Storage/HowTo-RequiredEntitlements.html I tried web, I also got False |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've spent a few hours on this and could not get Auth0 integrated with Uno Platform despite trying a few options.
Auth0 (Okta) is a very common authz provider and it provides a number of sdks for native applications, but not Uno Platform.
https://auth0.com/docs/quickstart/native#native
The closest I thought was .Net Maui, which led me to the whole business of using the MauiControls library so I could use the Auth0 provided nuget libary for Maui.
https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Maui/MauiOverview.html?tabs=single-project
I'm working primarily on Android at present so figured out how to add a callback schema on the MainActivity in the head project so that was ok.
So i made an authz.xaml ContentView in my MauiControls project:
which had some corresponding code behind code provided by Auth- to login and logout.
When I click the Login button, i can see Chrome browser attempt to open, then the entire emulator crashes!!?
What's really putting me off using Uno Platform from this is the amount of time I'm going to need to spend trying to integrate libraries that would just work within .Net Maui that most providers are now supporting with sdks.
Now, i can also see that Uno Platform has support for authentication but the custom and oidc routes (which may work with Auth0 with some fiddling) appear to require the client secret on the app side, which I won't be doing.
https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Authentication/AuthenticationOverview.html
Has anyone else successfully integrated an authz provider like Auth0 into Uno Platform, and if so could i get some pointers as to what i'm doing wrong here, thanks
Beta Was this translation helpful? Give feedback.
All reactions