Skip to content

Conversation

@GolfJimB
Copy link

I've integrated the functionality from this guide:
https://docs.microsoft.com/en-us/dotnet/maui/platform-integration/communication/authentication?tabs=android

Requires an API controller to be running like the one linked at the bottom of the guide.

I can't quite get it fully working though, I've opened an SO question with the details here: https://stackoverflow.com/questions/72641363/net-maui-webauthenticator-callbackurl-for-social-logins

Would love to work together on this!

</intent>
<!-- Maps -->
<intent>
<action android:name="android.intent.action.VIEW" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed for social login? (Similar question to the Image Capture intent.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nope, just the CustomTabsService needed, my bad.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now worries, just want to try and keep this to "MVP" status, especially for permission/intent asks

@mitchelsellers
Copy link
Owner

I'll take a look at this here in the next day or so.

But, I believe you might be trying to mix two concepts.

If you use MSAL & Microsoft to handle login, it would be Social login configured there. (Such as using B2C as the identity store, and then it allows social login)

In this case you would go MAUI APP -> B2C -> Social -> B2C -> MAUI App

B2C would handle the arbitrary myapp:// link I believe. (I'll look at another app and try and find some details)

@GolfJimB
Copy link
Author

Sorry, I'm not sure what B2C means in this context?
Are you referring to what this guide shows, where the app is registered in Azure AD?
https://docs.microsoft.com/en-us/azure/developer/mobile-apps/azure-mobile-apps/quickstarts/maui/authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants