Support multiple redirect_uris when creating OAuth 2.0 Applications (#29192)
This commit is contained in:
parent
12472e7f40
commit
2da2a1dae9
7 changed files with 201 additions and 25 deletions
|
@ -23,6 +23,12 @@ module ApplicationExtension
|
|||
redirect_uri.lines.first.strip
|
||||
end
|
||||
|
||||
def redirect_uris
|
||||
# Doorkeeper stores the redirect_uri value as a newline delimeted list in
|
||||
# the database:
|
||||
redirect_uri.split
|
||||
end
|
||||
|
||||
def push_to_streaming_api
|
||||
# TODO: #28793 Combine into a single topic
|
||||
payload = Oj.dump(event: :kill)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue