Skip to content

Adding Social Logins #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

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