peertube-plugin-auth-saml2 with Atlassian crowd as idP
I'm currently setting up SAML with Atlassian crowd as identity provider. There is no documentation about this case, but in general I fill in all the parameters by analogy with the instructions at https://framagit.org/framasoft/peertube/official-plugins/tree/master/peertube-plugin-auth-saml2 When I want to login using SAML I get a generic error from the peertube website and the logs show:
Click to expand
"stack": "Error: SessionIndex not an attribute of AuthnStatement.\n at get_session_info (/data/plugins/node_modules/saml2-js/lib-js/saml2.js:469:11)\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:679:24\n at nextTask (/data/plugins/node_modules/async/dist/async.js:5756:27)\n at next (/data/plugins/node_modules/async/dist/async.js:5764:13)\n at /data/plugins/node_modules/async/dist/async.js:324:20\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:675:14\n at nextTask (/data/plugins/node_modules/async/dist/async.js:5756:27)\n at next (/data/plugins/node_modules/async/dist/async.js:5764:13)\n at /data/plugins/node_modules/async/dist/async.js:324:20\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:626:20\n at nextTask (/data/plugins/node_modules/async/dist/async.js:5756:27)\n at next (/data/plugins/node_modules/async/dist/async.js:5764:13)\n at /data/plugins/node_modules/async/dist/async.js:324:20\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:600:16\n at Timeout._onTimeout (/data/plugins/node_modules/saml2-js/lib-js/saml2.js:311:17)\n at listOnTimeout (internal/timers.js:554:17)\n at processTimers (internal/timers.js:497:7)",, "err": {, "message": "SessionIndex not an attribute of AuthnStatement.", }, },Click to expand
at processTicksAndRejections (internal/process/task_queues.js:97:5), "message": "SessionIndex not an attribute of AuthnStatement.", [records.gurtam.net:443 peertube-plugin-auth-saml2] 2021-08-25 09:07:35.012 error: Error SAML 2 assert. {, "stack": "Error: SessionIndex not an attribute of AuthnStatement.\n at get_session_info (/data/plugins/node_modules/saml2-js/lib-js/saml2.js:469:11)\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:679:24\n at nextTask (/data/plugins/node_modules/async/dist/async.js:5756:27)\n at next (/data/plugins/node_modules/async/dist/async.js:5764:13)\n at /data/plugins/node_modules/async/dist/async.js:324:20\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:675:14\n at nextTask (/data/plugins/node_modules/async/dist/async.js:5756:27)\n at next (/data/plugins/node_modules/async/dist/async.js:5764:13)\n at /data/plugins/node_modules/async/dist/async.js:324:20\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:626:20\n at nextTask (/data/plugins/node_modules/async/dist/async.js:5756:27)\n at next (/data/plugins/node_modules/async/dist/async.js:5764:13)\n at /data/plugins/node_modules/async/dist/async.js:324:20\n at /data/plugins/node_modules/saml2-js/lib-js/saml2.js:600:16\n at Timeout._onTimeout (/data/plugins/node_modules/saml2-js/lib-js/saml2.js:311:17)\n at listOnTimeout (internal/timers.js:554:17)\n at processTimers (internal/timers.js:497:7)",And don't know what i can do else. On idP (Atlassian Crowd) side i don't have any settings than I can setup, just url to peertube. So maybe you have some advice for settings on peertube side?