Custom B2C Policy for Username based Local Accounts

前端 未结 1 410
离开以前
离开以前 2020-12-15 00:10

What do I have to change in the custom policy starter pack to make my sign-in/sing-up\'s policy username based not email based?

1条回答
  •  情书的邮戳
    2020-12-15 00:35

    Add this technical profile to TrustFrameworkExtensions.xml to write the user to Azure AD

    
        
            Write
            true
        
        
            
        
        
            
            
            
            
        
        
            
            
            
            
        
        
        
    
    

    Add this technical profile to TrustFrameworkExtensions.xml that is called by the user journey. The critical change here is the Username and true

    
        User ID signup
        
        
            IpAddress
            api.localaccountsignup
            Username
            true
            Create
        
        
            
        
        
            
        
        
            
            
            
            
            
            
            
            
            
        
        
            
        
        
    
    

    Sigin Technical Profile for Reference

    
        Local Account Signin
        
        
            SignUpWithLogonUsernameExchange
            Username
            api.selfasserted
        
        false
        
            
        
        
            
            
            
            
        
        
            
        
        
    
    

    Add this user journey to TrustFrameworkExtensions.xml

    
        
            
                
                    
                
                
                    
                
            
            
                
                    
                        objectId
                        SkipThisOrchestrationStep
                    
                
                
                    
                
            
            
            
                
                    
                
            
            
        
        
    
    

    thanks to Omer for his help!

    0 讨论(0)
提交回复
热议问题