﻿// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Nether.Data.Identity
{
    public static class LoginProvider
    {
        public const string UserNamePassword = "password";
        public const string FacebookUserAccessToken = "facebook-user-access-token";
    }
}

﻿// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Nether.Data.Identity
{
    public static class LoginProvider
    {
        public const string UserNamePassword = "password";
        public const string FacebookUserAccessToken = "Facebook"; // use the same identifier as the implicit flow for facebook
    }
}

Update fb-usertoken grant to reuser Facebook id
Update fb-usertoken grant to reuser Facebook id

Update the provider id for the custom fb-usertoken grant flow to use the same provider id as the implicit facebook flow to ensure that the user is resolved as the same nether user either way
