feat: read username if email is not available for oauth provider

Also add recipe for OAuth with GitHub setup
This commit is contained in:
2024-01-05 12:28:31 +02:00
parent 9e1cf3cde7
commit ed7ed5d5d9
7 changed files with 115 additions and 1 deletions

11
recipes/oauth/service.ini Normal file
View 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