Skip to content
Snippets Groups Projects

Add Jira Connect public key storage

Merged Andy Schoenen requested to merge andysoiron/jira-connect-self-hosted-jwt-generation into master
All threads resolved!
Files
7
@@ -2,16 +2,15 @@
module JiraConnect
class PublicKeysController < ::ApplicationController
# This is not inheriting from JiraConnect::Application controller because
# it doesn't need to handle JWT authentication.
feature_category :integrations
skip_before_action :authenticate_user!
def show
if Feature.disabled?(:jira_connect_oauth_self_managed)
render_404
return
end
return render_404 if Feature.disabled?(:jira_connect_oauth_self_managed)
render plain: public_key.key
end
Loading