Skip to content
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

AddWebTrends-2021-01 #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Welcome back to Partly Cloudy! The show where you learn how to build a cloud-con

In this episode we add something that every app needs - but it's sometimes tricky to do ... add authentication!!

[Check out the show](https://channel9.msdn.com/Shows/Partly-Cloudy/Who-Are-You-App-Center-Auth?WT.mc_id=partlycloudy-github-masoucou) - then come on back to get a recap on what happened and some extra pointers on some stuff I had to gloss over. (Or if you need to catch up - [all the episodes are here](https://channel9.msdn.com/Shows/Partly-Cloudy?WT.mc_id=partlycloudy-github-masoucou)!)
[Check out the show](https://channel9.msdn.com/Shows/Partly-Cloudy/Who-Are-You-App-Center-Auth?WT.mc_id=mobile-0000-masoucou) - then come on back to get a recap on what happened and some extra pointers on some stuff I had to gloss over. (Or if you need to catch up - [all the episodes are here](https://channel9.msdn.com/Shows/Partly-Cloudy?WT.mc_id=mobile-0000-masoucou)!)

## Authentication

Expand All @@ -14,13 +14,13 @@ So how do we do this?

### App Center

That's right, we use [App Center](https://docs.microsoft.com/appcenter/auth/?WT.mc_id=partlycloudy-github-masoucou) to allow users to create accounts and sign-in to the application! Actually, App Center provides a nice wrapper around [Azure AD B2C](https://docs.microsoft.com/azure/active-directory-b2c/?WT.mc_id=partlycloudy-github-masoucou) and [MSAL](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki). It's B2C that holds the user store and all that goodness. And MSAL is the SDK that interacts with B2C and handles all lowdown OAuth stuff.
That's right, we use [App Center](https://docs.microsoft.com/appcenter/auth/?WT.mc_id=mobile-0000-masoucou) to allow users to create accounts and sign-in to the application! Actually, App Center provides a nice wrapper around [Azure AD B2C](https://docs.microsoft.com/azure/active-directory-b2c/?WT.mc_id=mobile-0000-masoucou) and [MSAL](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki). It's B2C that holds the user store and all that goodness. And MSAL is the SDK that interacts with B2C and handles all lowdown OAuth stuff.

But App Center wraps them in a super duper easy to use SDK.

### Authenticating Users

I won't reiterate how to set everything up - rather I'll point you to the [documentation](https://docs.microsoft.com/appcenter/sdk/auth/xamarin?WT.mc_id=partlycloudy-github-masoucou). It's thorough. It's correct. It's kept up to date.
I won't reiterate how to set everything up - rather I'll point you to the [documentation](https://docs.microsoft.com/appcenter/sdk/auth/xamarin?WT.mc_id=mobile-0000-masoucou). It's thorough. It's correct. It's kept up to date.

Once you have everything setup for Azure AD B2C, connected it to App Center, [added the NuGet](https://www.nuget.org/packages/Microsoft.AppCenter.Auth/), and then initialized in your `info.plist` and `AndroidManifest.xml` you're ready to do some coding.

Expand Down