mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a07e67d9cc
This is "minimal" in the sense that only the Authorization Code Flow from OpenID Connect Core is implemented. No discovery, no configuration endpoint, and no user scope management. OpenID Connect is an extension to the (already implemented) OAuth 2.0 protocol, and essentially an `id_token` JWT is added to the access token endpoint response when using the Authorization Code Flow. I also added support for the "nonce" field since it is required to be used in the id_token if the client decides to include it in its initial request. In order to enable this extension an OAuth 2.0 scope containing "openid" is needed. Other OAuth 2.0 requests should not be impacted by this change. This minimal implementation is enough to enable single sign-on (SSO) for other sites, e.g. by using something like `mod_auth_openidc` to only allow access to a CI server if a user has logged into Gitea. Fixes: #1310 Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> |
4 years ago | |
---|---|---|
.. | ||
access.yml | 5 years ago | |
access_token.yml | 6 years ago | |
action.yml | 4 years ago | |
attachment.yml | 5 years ago | |
collaboration.yml | 5 years ago | |
comment.yml | 5 years ago | |
commit_status.yml | 8 years ago | |
deleted_branch.yml | 7 years ago | |
deploy_key.yml | 7 years ago | |
email_address.yml | 8 years ago | |
follow.yml | 8 years ago | |
gpg_key.yml | 7 years ago | |
gpg_key_import.yml | 6 years ago | |
hook_task.yml | 7 years ago | |
issue.yml | 4 years ago | |
issue_assignees.yml | 5 years ago | |
issue_label.yml | 5 years ago | |
issue_user.yml | 7 years ago | |
issue_watch.yml | 5 years ago | |
label.yml | 5 years ago | |
login_source.yml | 7 years ago | |
milestone.yml | 5 years ago | |
notice.yml | 8 years ago | |
notification.yml | 5 years ago | |
oauth2_application.yml | 6 years ago | |
oauth2_authorization_code.yml | 6 years ago | |
oauth2_grant.yml | 4 years ago | |
org_user.yml | 5 years ago | |
project.yml | 5 years ago | |
project_board.yml | 5 years ago | |
project_issue.yml | 5 years ago | |
protected_branch.yml | 8 years ago | |
public_key.yml | 5 years ago | |
pull_request.yml | 4 years ago | |
reaction.yml | 5 years ago | |
release.yml | 4 years ago | |
repo_indexer_status.yml | 7 years ago | |
repo_redirect.yml | 8 years ago | |
repo_topic.yml | 5 years ago | |
repo_unit.yml | 5 years ago | |
repository.yml | 4 years ago | |
review.yml | 4 years ago | |
star.yml | 8 years ago | |
stopwatch.yml | 5 years ago | |
team.yml | 5 years ago | |
team_repo.yml | 6 years ago | |
team_unit.yml | 6 years ago | |
team_user.yml | 5 years ago | |
topic.yml | 5 years ago | |
tracked_time.yml | 5 years ago | |
two_factor.yml | 6 years ago | |
u2f_registration.yml | 7 years ago | |
user.yml | 4 years ago | |
user_open_id.yml | 8 years ago | |
watch.yml | 5 years ago | |
webhook.yml | 5 years ago |