Title: Http request does not include extra_login_params · Issue #40 · python-cas/python-cas · GitHub
Open Graph Title: Http request does not include extra_login_params · Issue #40 · python-cas/python-cas
X Title: Http request does not include extra_login_params · Issue #40 · python-cas/python-cas
Description: I'm using django-cas-ng that depends on python-cas and I noticed that after receiving the ticket from CAS, the method verify_ticket() of cas.py, used by both version 2 and 3 does not include the extra_login_params. This is causing errors...
Open Graph Description: I'm using django-cas-ng that depends on python-cas and I noticed that after receiving the ticket from CAS, the method verify_ticket() of cas.py, used by both version 2 and 3 does not include the ex...
X Description: I'm using django-cas-ng that depends on python-cas and I noticed that after receiving the ticket from CAS, the method verify_ticket() of cas.py, used by both version 2 and 3 does not include th...
Opengraph URL: https://github.com/python-cas/python-cas/issues/40
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Http request does not include extra_login_params","articleBody":"I'm using django-cas-ng that depends on python-cas and I noticed that after receiving the ticket from CAS, the method verify_ticket() of cas.py, used by both version 2 and 3 does not include the extra_login_params. \r\nThis is causing errors in the authentication of extra-muros users, as XML response from CAS will say that \"user is invalid because application accepts only internal users, or users with higher assurance levels\".\r\nThe setting CAS_EXTRA_LOGIN_PARAMS of django-cas-ng allows specifying a dictionary of parameters, like assuranceLevel which I would expect to allow extra-muros users to authenticate.\r\nPlease, let me know whether this is a bug of python-cas, or I missed something of the whole flow.\r\nThanks!\r\n\r\nEDIT:\r\nI tried to override the method of CASClient for adding the extra_login_params, but I still get an error that says the user is invalid because application allows only internal users, or users with high assurance levels. This is for client version 2. For version 3 I always get a response that includes the html code of a 403 error page, so that is another problem.","author":{"url":"https://github.com/bahron83","@type":"Person","name":"bahron83"},"datePublished":"2020-07-09T14:40:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/40/python-cas/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3b075241-83c3-f6df-e003-36a0bf9e79a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D60:326682:4E74DB8:6AAD825:6980C8CE |
| html-safe-nonce | 1bcc9fa2bbb32988150a241f12d105cbd64894727b0742d0759834f7dba73bd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDYwOjMyNjY4Mjo0RTc0REI4OjZBQUQ4MjU6Njk4MEM4Q0UiLCJ2aXNpdG9yX2lkIjoiODA3NzQ2MDU1NjMwMDIwODMzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 95382d8f01bcbb30c7742381bfd43b583a937f54889136598ee86ebe28058412 |
| hovercard-subject-tag | issue:654115256 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-cas/python-cas/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a8844fea3d65e774d8b9460b1244ab7caea5c416fead87fc670a00208c203835/python-cas/python-cas/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a8844fea3d65e774d8b9460b1244ab7caea5c416fead87fc670a00208c203835/python-cas/python-cas/issues/40 |
| og:image:alt | I'm using django-cas-ng that depends on python-cas and I noticed that after receiving the ticket from CAS, the method verify_ticket() of cas.py, used by both version 2 and 3 does not include the ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bahron83 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c940d5e308643c0003d2824389ea8281bcaae0a9a0d07438e3fb5e0bdc4fef12 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-cas/python-cas git https://github.com/python-cas/python-cas.git |
| octolytics-dimension-user_id | 12914971 |
| octolytics-dimension-user_login | python-cas |
| octolytics-dimension-repository_id | 37541882 |
| octolytics-dimension-repository_nwo | python-cas/python-cas |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37541882 |
| octolytics-dimension-repository_network_root_nwo | python-cas/python-cas |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bb3d0fe9b8e408797775c5db420b1ee5ff06e4d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width