Commit bbbf66b5 authored by Drew Blessing's avatar Drew Blessing Committed by Drew Blessing

Restore doorkeeper generator to hex due to breaking change

Doorkeeper 5.1 changed the default token generator to urlsafe_base64
from hex. This restores the generator to hex to avoid the breaking
change.
parent 4fe0a254
---
title: Restore doorkeeper generator to hex due to breaking change
merge_request: 41169
author:
type: fixed
......@@ -3,6 +3,10 @@ Doorkeeper.configure do
# Currently supported options are :active_record, :mongoid2, :mongoid3, :mongo_mapper
orm :active_record
# Restore to pre-5.1 generator due to breaking change.
# See https://gitlab.com/gitlab-org/gitlab/-/issues/244371
default_generator_method :hex
# 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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment