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.
forgejo/routers
Sybren 95e8ea9440
Allow setting `redirect_to` cookie on OAuth login (#22594)
The regular login flow can use a `redirect_to` cookie to ensure the user
ends their authentication flow on the same page as where they started
it.

This commit adds the same functionality to the OAuth login URLs, so that
you can use URLs like these to directly use a specific OAuth provider:

`/user/oauth2/{provider}?redirect_to={post-login path}`

Only the `auth.SignInOAuth()` function needed a change for this, as the
rest of the login flow is aware of this cookie and uses it properly
already.
1 year ago
..
api Support scoped access tokens (#20908) 1 year ago
common Support disabling database auto migration (#22053) 1 year ago
install fix: update settings table on install (#22326) 1 year ago
private Prevent multiple `To` recipients (#22566) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 1 year ago
web Allow setting `redirect_to` cookie on OAuth login (#22594) 1 year ago
init.go Add support for incoming emails (#22056) 1 year ago