xo::Authorize method login_url (public)

 <instance of xo::Authorize[i]> login_url [ -return_url return_url ] \
    [ -login login ]

Defined in packages/xooauth/tcl/authorize-procs.tcl

Returns the URL for log-in

Switches:
-return_url (optional)
-login (optional)

Testcases:
No testcase defined.
Source code:
set base ${:base_url}/authorize
set client_id ${:client_id}
set scope ${:scope}
set state [:encoded_state -return_url $return_url]
set redirect_uri [:qualified ${:responder_url}]

return [export_vars -no_empty -base $base {
    client_id redirect_uri state scope login
}]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: