lib/generators/rodauth/oauth/templates/app/views/rodauth/authorize.html.erb in rodauth-oauth-1.4.0 vs lib/generators/rodauth/oauth/templates/app/views/rodauth/authorize.html.erb in rodauth-oauth-1.5.0

- old
+ new

@@ -77,9 +77,14 @@ <% end %> <% if rodauth.param_or_nil("registration") %> <%= hidden_field_tag :registration, rodauth.param_or_nil("registration") %> <% end %> <% end %> + <% if rodauth.features.include?(:oidc) %> + <% if rodauth.param_or_nil("dpop_jkt") %> + <%= hidden_field_tag :dpop_jkt, rodauth.param_or_nil("dpop_jkt") %> + <% end %> + <% end %> </div> <p class="text-center"> <%= submit_tag rodauth.oauth_authorize_button, class: "btn btn-outline-primary" %> <%= link_to rodauth.oauth_cancel_button, "#{rodauth.redirect_uri}?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request#{"&state=\#{CGI.escape(rodauth.state)}" if rodauth.param_or_nil("state") }", class: "btn btn-outline-danger" %> </p>