templates/new_oauth_application.str in rodauth-oauth-0.7.4 vs templates/new_oauth_application.str in rodauth-oauth-0.8.0

- old
+ new

@@ -1,10 +1,19 @@ +<h2>#{rodauth.new_oauth_application_page_title}</h2> <form method="post" action="#{rodauth.oauth_applications_path}" class="rodauth" role="form" id="oauth-application-form"> #{rodauth.csrf_tag} #{rodauth.render('name_field')} #{rodauth.render('description_field')} #{rodauth.render('homepage_url_field')} #{rodauth.render('redirect_uri_field')} #{rodauth.render('client_secret_field')} #{rodauth.render('scope_field')} + #{ + if rodauth.features.include?(:oauth_jwt) + <<-HTML + #{rodauth.render('jwt_public_key_field')} + #{rodauth.render('jws_jwk_field')} + HTML + end + } #{rodauth.button(rodauth.oauth_application_button)} </form>