Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion content/docs/connectors/gitea.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ weight: 2130

One of the login options for dex uses the Gitea OAuth2 flow to identify the end user through their Gitea account.

When a client redeems a refresh token through dex, dex will re-query Gitea to update user information in the ID Token. To do this, __dex stores a readonly Gitea access token in its backing datastore.__ Users that reject dex's access through Gitea will also revoke all dex clients which authenticated them through Gitea.
When a client redeems a refresh token through dex, dex will re-query Gitea to update user information in the ID Token. To do this, __dex stores a readonly Gitea access token in its backing datastore.__ Users that reject dex's access through Gitea will also revoke all dex clients which authenticated them through Gitea. Does also support [Forgejo](https://forgejo.org/).

## Configuration

Expand All @@ -34,4 +34,14 @@ connectors:
redirectURI: http://127.0.0.1:5556/dex/callback
# optional, default = https://gitea.com
baseURL: https://gitea.com
# Includes all gittea groups as groups claim (OrgaName, OrgaName:TeamName) (disabled if orgs is defined)
loadAllGroups: true

#orgs:
# # Organization name in gitea (not slug, full name). Only users in this gitea organization can authenticate.
# - name: OrgaName
# Names of teams in a gitea organization. A user will be able to authenticate if they are members of at least one of these teams. Users in the organization can authenticate if this field is omitted from the config file.
# teams:
# - TeamName1
# - TeamName2
```