{
	"issue": {
		"url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
		"repository_url": "https://api.github.com/repos/laurent22/joplin",
		"labels_url": "https://api.github.com/repos/laurent22/joplin/issues/9150/labels{/name}",
		"comments_url": "https://api.github.com/repos/laurent22/joplin/issues/9150/comments",
		"events_url": "https://api.github.com/repos/laurent22/joplin/issues/9150/events",
		"html_url": "https://github.com/laurent22/joplin/pull/9150",
		"id": 1965264547,
		"node_id": "PR_kwDOBLftOs5d9YZS",
		"number": 9150,
		"title": "Server: Added ldap authentication",
		"user": {
			"login": "marcorombach",
			"id": 36333308,
			"node_id": "MDQ6VXNlcjM2MzMzMzA4",
			"avatar_url": "https://avatars.githubusercontent.com/u/36333308?v=4",
			"gravatar_id": "",
			"url": "https://api.github.com/users/marcorombach",
			"html_url": "https://github.com/marcorombach",
			"followers_url": "https://api.github.com/users/marcorombach/followers",
			"following_url": "https://api.github.com/users/marcorombach/following{/other_user}",
			"gists_url": "https://api.github.com/users/marcorombach/gists{/gist_id}",
			"starred_url": "https://api.github.com/users/marcorombach/starred{/owner}{/repo}",
			"subscriptions_url": "https://api.github.com/users/marcorombach/subscriptions",
			"organizations_url": "https://api.github.com/users/marcorombach/orgs",
			"repos_url": "https://api.github.com/users/marcorombach/repos",
			"events_url": "https://api.github.com/users/marcorombach/events{/privacy}",
			"received_events_url": "https://api.github.com/users/marcorombach/received_events",
			"type": "User",
			"user_view_type": "public",
			"site_admin": false
		},
		"labels": [],
		"state": "closed",
		"locked": false,
		"assignee": null,
		"assignees": [],
		"milestone": null,
		"comments": 12,
		"created_at": "2023-10-27T10:50:02Z",
		"updated_at": "2023-12-20T08:10:56Z",
		"closed_at": "2023-11-08T15:38:01Z",
		"author_association": "CONTRIBUTOR",
		"sub_issues_summary": {
			"total": 0,
			"completed": 0,
			"percent_completed": 0
		},
		"active_lock_reason": null,
		"draft": false,
		"pull_request": {
			"url": "https://api.github.com/repos/laurent22/joplin/pulls/9150",
			"html_url": "https://github.com/laurent22/joplin/pull/9150",
			"diff_url": "https://github.com/laurent22/joplin/pull/9150.diff",
			"patch_url": "https://github.com/laurent22/joplin/pull/9150.patch",
			"merged_at": "2023-11-08T15:38:01Z"
		},
		"body": "This provides the option to use up to two LDAP directories as authentication source for Joplin Server.\r\nIf activated user also will be created on the fly if LDAP authentication was successful.\r\nThe mail address is used to search the user in the directories.\r\n\r\nFollowing ENV variables are available to configure the LDAP authentication:\r\n\r\n```\r\nLDAP_1_ENABLED=false\r\nLDAP_1_USER_AUTO_CREATION=true\r\nLDAP_1_HOST='' // ldap server in following format ldap(s)://servername:port\r\nLDAP_1_MAIL_ATTRIBUTE='mail'\r\nLDAP_1_FULLNAME_ATTRIBUTE='displayName'\r\nLDAP_1_BASE_DN=''\r\nLDAP_1_BIND_DN=''  // used for user search - leave empty if ldap server allows anonymous bind\r\nLDAP_1_BIND_PW='' // used for user search - leave empty if ldap server allows anonymous bind\r\n```\r\n\r\nFor a second LDAP server just replace 1 with 2 in the variable name.\r\nBIND_DN and BIND_PW are optional - if not provided, a anonymous bind against the LDAP server will be tried.\r\nMAIL_ATTRIBUTE and FULLNAME_ATTRIBUTE may vary for different LDAP servers, the preset values works for ActiveDirectory.",
		"closed_by": {
			"login": "laurent22",
			"id": 1285584,
			"node_id": "MDQ6VXNlcjEyODU1ODQ=",
			"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
			"gravatar_id": "",
			"url": "https://api.github.com/users/laurent22",
			"html_url": "https://github.com/laurent22",
			"followers_url": "https://api.github.com/users/laurent22/followers",
			"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
			"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
			"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
			"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
			"organizations_url": "https://api.github.com/users/laurent22/orgs",
			"repos_url": "https://api.github.com/users/laurent22/repos",
			"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
			"received_events_url": "https://api.github.com/users/laurent22/received_events",
			"type": "User",
			"user_view_type": "public",
			"site_admin": false
		},
		"reactions": {
			"url": "https://api.github.com/repos/laurent22/joplin/issues/9150/reactions",
			"total_count": 0,
			"+1": 0,
			"-1": 0,
			"laugh": 0,
			"hooray": 0,
			"confused": 0,
			"heart": 0,
			"rocket": 0,
			"eyes": 0
		},
		"timeline_url": "https://api.github.com/repos/laurent22/joplin/issues/9150/timeline",
		"performed_via_github_app": null,
		"state_reason": null
	},
	"comments": [
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1782704899",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1782704899",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1782704899,
			"node_id": "IC_kwDOBLftOs5qQesD",
			"user": {
				"login": "github-actions[bot]",
				"id": 41898282,
				"node_id": "MDM6Qm90NDE4OTgyODI=",
				"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/github-actions%5Bbot%5D",
				"html_url": "https://github.com/apps/github-actions",
				"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
				"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
				"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
				"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
				"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
				"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
				"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
				"type": "Bot",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-10-27T10:50:21Z",
			"updated_at": "2023-11-08T15:38:19Z",
			"author_association": "CONTRIBUTOR",
			"body": "****CLA Assistant Lite bot**** All contributors have signed the CLA  ✍️ ✅",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1782704899/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1782708113",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1782708113",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1782708113,
			"node_id": "IC_kwDOBLftOs5qQfeR",
			"user": {
				"login": "marcorombach",
				"id": 36333308,
				"node_id": "MDQ6VXNlcjM2MzMzMzA4",
				"avatar_url": "https://avatars.githubusercontent.com/u/36333308?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/marcorombach",
				"html_url": "https://github.com/marcorombach",
				"followers_url": "https://api.github.com/users/marcorombach/followers",
				"following_url": "https://api.github.com/users/marcorombach/following{/other_user}",
				"gists_url": "https://api.github.com/users/marcorombach/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/marcorombach/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/marcorombach/subscriptions",
				"organizations_url": "https://api.github.com/users/marcorombach/orgs",
				"repos_url": "https://api.github.com/users/marcorombach/repos",
				"events_url": "https://api.github.com/users/marcorombach/events{/privacy}",
				"received_events_url": "https://api.github.com/users/marcorombach/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-10-27T10:52:57Z",
			"updated_at": "2023-10-27T10:52:57Z",
			"author_association": "CONTRIBUTOR",
			"body": "I have read the CLA Document and I hereby sign the CLA",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1782708113/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1784696730",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1784696730",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1784696730,
			"node_id": "IC_kwDOBLftOs5qYE-a",
			"user": {
				"login": "marcorombach",
				"id": 36333308,
				"node_id": "MDQ6VXNlcjM2MzMzMzA4",
				"avatar_url": "https://avatars.githubusercontent.com/u/36333308?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/marcorombach",
				"html_url": "https://github.com/marcorombach",
				"followers_url": "https://api.github.com/users/marcorombach/followers",
				"following_url": "https://api.github.com/users/marcorombach/following{/other_user}",
				"gists_url": "https://api.github.com/users/marcorombach/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/marcorombach/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/marcorombach/subscriptions",
				"organizations_url": "https://api.github.com/users/marcorombach/orgs",
				"repos_url": "https://api.github.com/users/marcorombach/repos",
				"events_url": "https://api.github.com/users/marcorombach/events{/privacy}",
				"received_events_url": "https://api.github.com/users/marcorombach/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-10-30T08:22:40Z",
			"updated_at": "2023-10-30T08:22:40Z",
			"author_association": "CONTRIBUTOR",
			"body": "> Also would it be possible to add tests for this feature?\r\n\r\nTests would need a mock ldap server like https://www.npmjs.com/package/ldap-server-mock to work.\r\nThis should be possible but I'd prefer to implement this at a later time if that's okay, as it will be much work to do this properly.",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1784696730/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1784953397",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1784953397",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1784953397,
			"node_id": "IC_kwDOBLftOs5qZDo1",
			"user": {
				"login": "laurent22",
				"id": 1285584,
				"node_id": "MDQ6VXNlcjEyODU1ODQ=",
				"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/laurent22",
				"html_url": "https://github.com/laurent22",
				"followers_url": "https://api.github.com/users/laurent22/followers",
				"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
				"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
				"organizations_url": "https://api.github.com/users/laurent22/orgs",
				"repos_url": "https://api.github.com/users/laurent22/repos",
				"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
				"received_events_url": "https://api.github.com/users/laurent22/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-10-30T11:03:18Z",
			"updated_at": "2023-10-30T11:03:18Z",
			"author_association": "OWNER",
			"body": "Implementing a whole mock server would be overkill, but we need at least tests for the login method since this is a very important part of the software. You can do that relatively easily in `api/sessions.test.ts` and by mocking the `ldapLogin` call. For example you can make it return a user, or no user, or make it throw an exception, and verify that everything works as expected.",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1784953397/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1786963456",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1786963456",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1786963456,
			"node_id": "IC_kwDOBLftOs5qguYA",
			"user": {
				"login": "marcorombach",
				"id": 36333308,
				"node_id": "MDQ6VXNlcjM2MzMzMzA4",
				"avatar_url": "https://avatars.githubusercontent.com/u/36333308?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/marcorombach",
				"html_url": "https://github.com/marcorombach",
				"followers_url": "https://api.github.com/users/marcorombach/followers",
				"following_url": "https://api.github.com/users/marcorombach/following{/other_user}",
				"gists_url": "https://api.github.com/users/marcorombach/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/marcorombach/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/marcorombach/subscriptions",
				"organizations_url": "https://api.github.com/users/marcorombach/orgs",
				"repos_url": "https://api.github.com/users/marcorombach/repos",
				"events_url": "https://api.github.com/users/marcorombach/events{/privacy}",
				"received_events_url": "https://api.github.com/users/marcorombach/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-10-31T10:46:07Z",
			"updated_at": "2023-10-31T10:46:07Z",
			"author_association": "CONTRIBUTOR",
			"body": "> Implementing a whole mock server would be overkill, but we need at least tests for the login method since this is a very important part of the software. You can do that relatively easily in `api/sessions.test.ts` and by mocking the `ldapLogin` call. For example you can make it return a user, or no user, or make it throw an exception, and verify that everything works as expected.\r\n\r\nAdded some tests, are they sufficient?",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1786963456/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1798362599",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1798362599",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1798362599,
			"node_id": "IC_kwDOBLftOs5rMNXn",
			"user": {
				"login": "laurent22",
				"id": 1285584,
				"node_id": "MDQ6VXNlcjEyODU1ODQ=",
				"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/laurent22",
				"html_url": "https://github.com/laurent22",
				"followers_url": "https://api.github.com/users/laurent22/followers",
				"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
				"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
				"organizations_url": "https://api.github.com/users/laurent22/orgs",
				"repos_url": "https://api.github.com/users/laurent22/repos",
				"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
				"received_events_url": "https://api.github.com/users/laurent22/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-11-07T11:58:06Z",
			"updated_at": "2023-11-07T11:58:06Z",
			"author_association": "OWNER",
			"body": "It looks good now, thanks for adding the test @marcorombach! There's now a conflict on yarn.lock - would you mind fixing it? You just need to run `yarn install` and commit the result",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1798362599/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1801324455",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1801324455",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1801324455,
			"node_id": "IC_kwDOBLftOs5rXgen",
			"user": {
				"login": "marcorombach",
				"id": 36333308,
				"node_id": "MDQ6VXNlcjM2MzMzMzA4",
				"avatar_url": "https://avatars.githubusercontent.com/u/36333308?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/marcorombach",
				"html_url": "https://github.com/marcorombach",
				"followers_url": "https://api.github.com/users/marcorombach/followers",
				"following_url": "https://api.github.com/users/marcorombach/following{/other_user}",
				"gists_url": "https://api.github.com/users/marcorombach/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/marcorombach/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/marcorombach/subscriptions",
				"organizations_url": "https://api.github.com/users/marcorombach/orgs",
				"repos_url": "https://api.github.com/users/marcorombach/repos",
				"events_url": "https://api.github.com/users/marcorombach/events{/privacy}",
				"received_events_url": "https://api.github.com/users/marcorombach/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-11-08T08:37:38Z",
			"updated_at": "2023-11-08T08:37:38Z",
			"author_association": "CONTRIBUTOR",
			"body": "@laurent22 the conflict on yarn.lock is now resolved. Somehow there where changes to supportedLocales.js after running yarn install that where commited. There is a entry in .gitignore, so I don't know why that was commited. I reverted these changes and it seems like everything is ok now.",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1801324455/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1801978734",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1801978734",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1801978734,
			"node_id": "IC_kwDOBLftOs5raANu",
			"user": {
				"login": "laurent22",
				"id": 1285584,
				"node_id": "MDQ6VXNlcjEyODU1ODQ=",
				"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/laurent22",
				"html_url": "https://github.com/laurent22",
				"followers_url": "https://api.github.com/users/laurent22/followers",
				"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
				"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
				"organizations_url": "https://api.github.com/users/laurent22/orgs",
				"repos_url": "https://api.github.com/users/laurent22/repos",
				"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
				"received_events_url": "https://api.github.com/users/laurent22/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-11-08T14:16:50Z",
			"updated_at": "2023-11-08T14:16:50Z",
			"author_association": "OWNER",
			"body": "Ok that's strange, because that file should actually be named `supportedLocales.js` and it's indeed automatically built. But there's nothing in the codebase about a `supportedLanguages.js` file. It definitely makes sense to exclude that file in any case. Thanks for making these changes, I'm going to wait for CI to run and I'll merge",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1801978734/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1863965863",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1863965863",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1863965863,
			"node_id": "IC_kwDOBLftOs5vGdyn",
			"user": {
				"login": "tompaah",
				"id": 60508136,
				"node_id": "MDQ6VXNlcjYwNTA4MTM2",
				"avatar_url": "https://avatars.githubusercontent.com/u/60508136?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/tompaah",
				"html_url": "https://github.com/tompaah",
				"followers_url": "https://api.github.com/users/tompaah/followers",
				"following_url": "https://api.github.com/users/tompaah/following{/other_user}",
				"gists_url": "https://api.github.com/users/tompaah/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/tompaah/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/tompaah/subscriptions",
				"organizations_url": "https://api.github.com/users/tompaah/orgs",
				"repos_url": "https://api.github.com/users/tompaah/repos",
				"events_url": "https://api.github.com/users/tompaah/events{/privacy}",
				"received_events_url": "https://api.github.com/users/tompaah/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-12-20T07:17:42Z",
			"updated_at": "2023-12-20T07:17:42Z",
			"author_association": "NONE",
			"body": "Unable to get this to work with joplin/server:2.13.5-beta in Docker and using Authentik LDAP Outpost.\r\nThe LDAP server answers questions correctly using ldapsearch or other LDAP enabled applications.\r\n\r\nThe web interface says only `is an invalid LDAP URL (protocol)` in the red error field, nothing more.\r\nContainer logs\r\n```\r\n07:09:11 0|app  | 2023-12-20 07:09:11: LDAP: Starting authentication with Server \r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: POST /login (500) (23ms)\r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: GET /css/bulma.min.css (200) (106ms)\r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: GET /css/fontawesome/css/all.min.css (200) (81ms)\r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: GET /js/jquery.min.js (200) (28ms)\r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: GET /css/main.css (200) (95ms)\r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: GET /js/main.js (200) (29ms)\r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: GET /images/server_logo.png (200) (26ms)\r\n07:09:11 0|app  | 2023-12-20 07:09:11: App: GET /images/icons/server/manifest.webmanifest (200) (12ms)\r\n```\r\n\r\nDocker stack environment variables for LDAP are\r\n```\r\n      - LDAP_1_ENABLED=true\r\n      - LDAP_1_CREATE_USER=false\r\n      - LDAP_1_SERVER=ldap://192.168.xx.xx:389\r\n      - LDAP_1_MAIL_ATTRIBUTE='mail'\r\n      - LDAP_1_FULLNAME_ATTRIBUTE='displayName'\r\n      - LDAP_1_BASE_DN='dc=xxxx,dc=xxxxx,dc=xxx'\r\n      - LDAP_1_BIND_DN='cn=xxxxxx,ou=users,DC=xxxx,DC=xxxxx,DC=xxx\r\n      - LDAP_1_BIND_PW='xxx'\r\n```\r\n\r\nIs there any way of enabling extended debug/error logging? Right now the only clue is that it appears to have problem with the LDAP_1_SERVER url but not idea as to why. Tried having the variable in single, double quotes or no quotes, this makes no difference.\r\n",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1863965863/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1864016728",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1864016728",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1864016728,
			"node_id": "IC_kwDOBLftOs5vGqNY",
			"user": {
				"login": "marcorombach",
				"id": 36333308,
				"node_id": "MDQ6VXNlcjM2MzMzMzA4",
				"avatar_url": "https://avatars.githubusercontent.com/u/36333308?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/marcorombach",
				"html_url": "https://github.com/marcorombach",
				"followers_url": "https://api.github.com/users/marcorombach/followers",
				"following_url": "https://api.github.com/users/marcorombach/following{/other_user}",
				"gists_url": "https://api.github.com/users/marcorombach/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/marcorombach/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/marcorombach/subscriptions",
				"organizations_url": "https://api.github.com/users/marcorombach/orgs",
				"repos_url": "https://api.github.com/users/marcorombach/repos",
				"events_url": "https://api.github.com/users/marcorombach/events{/privacy}",
				"received_events_url": "https://api.github.com/users/marcorombach/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-12-20T07:51:59Z",
			"updated_at": "2023-12-20T07:51:59Z",
			"author_association": "CONTRIBUTOR",
			"body": "Seems like you took the env vars from my initial PR comment. These are not the final variable names. I'll try to edit this comment.\r\n\r\nIn the meanwhile you can find the correct variables including a brief description in this file: https://github.com/laurent22/joplin/blob/dev/packages/server/src/env.ts#L111",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1864016728/reactions",
				"total_count": 1,
				"+1": 1,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1864030797",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1864030797",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1864030797,
			"node_id": "IC_kwDOBLftOs5vGtpN",
			"user": {
				"login": "tompaah",
				"id": 60508136,
				"node_id": "MDQ6VXNlcjYwNTA4MTM2",
				"avatar_url": "https://avatars.githubusercontent.com/u/60508136?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/tompaah",
				"html_url": "https://github.com/tompaah",
				"followers_url": "https://api.github.com/users/tompaah/followers",
				"following_url": "https://api.github.com/users/tompaah/following{/other_user}",
				"gists_url": "https://api.github.com/users/tompaah/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/tompaah/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/tompaah/subscriptions",
				"organizations_url": "https://api.github.com/users/tompaah/orgs",
				"repos_url": "https://api.github.com/users/tompaah/repos",
				"events_url": "https://api.github.com/users/tompaah/events{/privacy}",
				"received_events_url": "https://api.github.com/users/tompaah/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-12-20T08:04:50Z",
			"updated_at": "2023-12-20T08:04:50Z",
			"author_association": "NONE",
			"body": "> Seems like you took the env vars from my initial PR comment. These are not the final variable names. I'll try to edit this comment.\r\n> \r\n> In the meanwhile you can find the correct variables including a brief description in this file: https://github.com/laurent22/joplin/blob/dev/packages/server/src/env.ts#L111\r\n\r\nThank you for the help and your contribution to the code, it's working now with the correct variable names. 😊",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1864030797/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		},
		{
			"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1864037597",
			"html_url": "https://github.com/laurent22/joplin/pull/9150#issuecomment-1864037597",
			"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/9150",
			"id": 1864037597,
			"node_id": "IC_kwDOBLftOs5vGvTd",
			"user": {
				"login": "marcorombach",
				"id": 36333308,
				"node_id": "MDQ6VXNlcjM2MzMzMzA4",
				"avatar_url": "https://avatars.githubusercontent.com/u/36333308?v=4",
				"gravatar_id": "",
				"url": "https://api.github.com/users/marcorombach",
				"html_url": "https://github.com/marcorombach",
				"followers_url": "https://api.github.com/users/marcorombach/followers",
				"following_url": "https://api.github.com/users/marcorombach/following{/other_user}",
				"gists_url": "https://api.github.com/users/marcorombach/gists{/gist_id}",
				"starred_url": "https://api.github.com/users/marcorombach/starred{/owner}{/repo}",
				"subscriptions_url": "https://api.github.com/users/marcorombach/subscriptions",
				"organizations_url": "https://api.github.com/users/marcorombach/orgs",
				"repos_url": "https://api.github.com/users/marcorombach/repos",
				"events_url": "https://api.github.com/users/marcorombach/events{/privacy}",
				"received_events_url": "https://api.github.com/users/marcorombach/received_events",
				"type": "User",
				"user_view_type": "public",
				"site_admin": false
			},
			"created_at": "2023-12-20T08:10:54Z",
			"updated_at": "2023-12-20T08:10:54Z",
			"author_association": "CONTRIBUTOR",
			"body": "You're welcome! Glad it works for you now :)",
			"reactions": {
				"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/1864037597/reactions",
				"total_count": 0,
				"+1": 0,
				"-1": 0,
				"laugh": 0,
				"hooray": 0,
				"confused": 0,
				"heart": 0,
				"rocket": 0,
				"eyes": 0
			},
			"performed_via_github_app": null
		}
	]
}