Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
f989a87089c0
Commit
19163f84
authored
Jul 18, 2015
by
Stan Hu
Browse files
Fix OAuth provider bug where GitLab would not go return to the redirect_uri after sign-in
Closes #1612
parent
7fe03fe78248
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
f989a870
Please view this file on the master branch, on stable branches it's out of date.
v 7.14.0 (unreleased)
- Fix OAuth provider bug where GitLab would not go return to the redirect_uri after sign-in (Stan Hu)
- Fix file upload dialog for comment editing (Daniel Gerhardt)
- Expire Rails cache entries after two weeks to prevent endless Redis growth
- Add support for destroying project milestones (Stan Hu)
...
...
config/initializers/doorkeeper.rb
View file @
f989a870
...
...
@@ -6,7 +6,8 @@
# This block will be called to check whether the resource owner is authenticated or not.
resource_owner_authenticator
do
# Put your resource owner authentication logic here.
# Example implementation:
# Ensure user is redirected to redirect_uri after login
session
[
:user_return_to
]
=
request
.
fullpath
current_user
||
redirect_to
(
new_user_session_url
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment