mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-11-04 07:43:42 +00:00 
			
		
		
		
	feat: read username if email is not available for oauth provider
Also add recipe for OAuth with GitHub setup
This commit is contained in:
		
							
								
								
									
										11
									
								
								recipes/oauth/service.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								recipes/oauth/service.ini
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
[auth]
 | 
			
		||||
target = oauth
 | 
			
		||||
client_id = $AHRIMAN_OAUTH_CLIENT_ID
 | 
			
		||||
client_secret = $AHRIMAN_OAUTH_CLIENT_SECRET
 | 
			
		||||
 | 
			
		||||
oauth_icon = github
 | 
			
		||||
oauth_provider = GithubClient
 | 
			
		||||
oauth_scopes = read:user
 | 
			
		||||
 | 
			
		||||
[web]
 | 
			
		||||
address = http://localhost:8080
 | 
			
		||||
		Reference in New Issue
	
	Block a user