[%# oauth/authorize.tt Page for authorize step of OAuth initial setup Authors: Andrea Nall Copyright (c) 2015 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. %] [% IF args.deny %] You many return to [% consumer.name %] now.
[% ELSIF consumer && args.allow %]

[% '.enter_verifier' | ml %]

[% ELSIF consumer %] [%- name_safe = consumer.name | html -%] [%- website_safe = consumer.name | url -%]

[% '.warning' | ml( href = website_safe, name = name_safe ) %]

[% '.warning.future' | ml( href = "/oauth/") %]

[% IF u %]
[% dw.form_auth %]
[% ELSE %] Please log in above to continue the authorization process. [% END %] [% ELSIF oauth_token %] [% '.expired' | ml %] [% ELSE %] [% IF u %]
[% ELSE %] Please log in above to continue the authorization process. [% END %] [% END %]