feat: add debug registration endpoint, fix snowflake serialization
This commit is contained in:
		
							parent
							
								
									852036a6f7
								
							
						
					
					
						commit
						588afeec20
					
				
					 14 changed files with 646 additions and 10 deletions
				
			
		|  | @ -15,7 +15,7 @@ public class Application : BaseModel | |||
|         string[] redirectUrls) | ||||
|     { | ||||
|         var clientId = RandomNumberGenerator.GetHexString(32, true); | ||||
|         var clientSecret = OauthUtils.RandomToken(48); | ||||
|         var clientSecret = OauthUtils.RandomToken(); | ||||
| 
 | ||||
|         if (scopes.Except(OauthUtils.ApplicationScopes).Any()) | ||||
|         { | ||||
|  |  | |||
|  | @ -15,6 +15,7 @@ public class User : BaseModel | |||
|     public List<Field> Fields { get; set; } = []; | ||||
| 
 | ||||
|     public UserRole Role { get; set; } = UserRole.User; | ||||
|     public string? Password { get; set; } // Password may be null if the user doesn't authenticate with an email address | ||||
| 
 | ||||
|     public List<Member> Members { get; } = []; | ||||
|     public List<AuthMethod> AuthMethods { get; } = []; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue