2
0

Support multiple redirect_uris when creating OAuth 2.0 Applications (#29192)

This commit is contained in:
Emelia Smith
2024-05-17 15:46:12 +02:00
committed by GitHub
parent 12472e7f40
commit 2da2a1dae9
7 changed files with 201 additions and 25 deletions

View File

@@ -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)