This repository was archived by the owner on Jun 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -127,14 +127,17 @@ def finalize(op_hash, request_args):
127127 endpoints [endp ] = v
128128
129129 kwargs = {}
130- _chk_iframe = rp .service_context .provider_info .get ('check_session_iframe' )
131- if _chk_iframe :
132- kwargs ['check_session_iframe' ] = _chk_iframe
133130
134- _status_iframe = rp .service_context .add_on .get ('status_check' )
135- if _status_iframe :
136- kwargs ["status_check_iframe" ] = _status_iframe
131+ # Do I support session status checking ?
132+ _status_check_info = rp .service_context .add_on .get ('status_check' )
133+ if _status_check_info :
134+ # Does the OP support session status checking ?
135+ _chk_iframe = rp .service_context .provider_info .get ('check_session_iframe' )
136+ if _chk_iframe :
137+ kwargs ['check_session_iframe' ] = _chk_iframe
138+ kwargs ["status_check_iframe" ] = _status_check_info ['rp_iframe_path' ]
137139
140+ # Where to go if the user clicks on logout
138141 kwargs ['logout_url' ] = "{}/logout" .format (rp .service_context .base_url )
139142
140143 return render_template ('opresult.html' , endpoints = endpoints ,
You can’t perform that action at this time.
0 commit comments