<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hedgedoc/lib/web/auth, branch cindy</title>
<subtitle>Hedgedoc with support for CindyScript
</subtitle>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/'/>
<entry>
<title>Linter: Fix all lint errors</title>
<updated>2021-02-15T11:15:14+00:00</updated>
<author>
<name>Philip Molares</name>
</author>
<published>2021-02-15T08:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=136d895d155f28c2e75b3af206549acaa2a354ed'/>
<id>136d895d155f28c2e75b3af206549acaa2a354ed</id>
<content type='text'>
Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SAML auth error logging</title>
<updated>2021-02-11T21:00:22+00:00</updated>
<author>
<name>David Mehren</name>
</author>
<published>2021-02-11T21:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=4655e9c785f6af0639c0d1a2dadaf06271c56234'/>
<id>4655e9c785f6af0639c0d1a2dadaf06271c56234</id>
<content type='text'>
As stated in https://github.com/node-saml/passport-saml/blob/master/CHANGELOG.md#v200-2020-11-03
and the corresponding PR https://github.com/node-saml/passport-saml/pull/412
passport-saml now always throws error objects instead of strings.
This fixes our error logging to accommodate this change.

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As stated in https://github.com/node-saml/passport-saml/blob/master/CHANGELOG.md#v200-2020-11-03
and the corresponding PR https://github.com/node-saml/passport-saml/pull/412
passport-saml now always throws error objects instead of strings.
This fixes our error logging to accommodate this change.

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash when OAuth2 config parameters are missing</title>
<updated>2020-11-30T14:04:30+00:00</updated>
<author>
<name>David Mehren</name>
</author>
<published>2020-11-30T14:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=cc7fa947bfb4043bd4b97b0040e82daef892f365'/>
<id>cc7fa947bfb4043bd4b97b0040e82daef892f365</id>
<content type='text'>
If the optional config options `config.oauth2.userProfileIdAttr` or `config.oauth2.rolesClaim` were not set, `String.split` was called on `undefined`, triggering a crash.

This commit adds handling of these cases and improves error logging in `checkAuthorization`.

Fixes #608

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the optional config options `config.oauth2.userProfileIdAttr` or `config.oauth2.rolesClaim` were not set, `String.split` was called on `undefined`, triggering a crash.

This commit adds handling of these cases and improves error logging in `checkAuthorization`.

Fixes #608

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add oauth2 authorization</title>
<updated>2020-11-25T18:23:55+00:00</updated>
<author>
<name>Joachim Mathes</name>
</author>
<published>2020-11-21T19:26:12+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=729b387536d2bcf43a20b2ddead4bffdfd342d2a'/>
<id>729b387536d2bcf43a20b2ddead4bffdfd342d2a</id>
<content type='text'>
Signed-off-by: Joachim Mathes &lt;joachim_mathes@web.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joachim Mathes &lt;joachim_mathes@web.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Generic OAuth2: Set state: true</title>
<updated>2020-10-22T20:50:34+00:00</updated>
<author>
<name>Dexter Chua</name>
</author>
<published>2020-06-16T08:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=a88b4aff2a904cd2351002784817d54120766ad8'/>
<id>a88b4aff2a904cd2351002784817d54120766ad8</id>
<content type='text'>
The OAuth2 specification RECOMMENDS setting the state to protect against
CSRF attacks. Some OAuth2 providers (e.g. ORY Hydra) refuse to
authenticate without the state set.

This is a cherry-pick of 852868419dc03d5dec79e75a3d7692ab670c927f.

Signed-off-by: haslersn &lt;sebastian.hasler@gmx.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The OAuth2 specification RECOMMENDS setting the state to protect against
CSRF attacks. Some OAuth2 providers (e.g. ORY Hydra) refuse to
authenticate without the state set.

This is a cherry-pick of 852868419dc03d5dec79e75a3d7692ab670c927f.

Signed-off-by: haslersn &lt;sebastian.hasler@gmx.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>saml: make logger print actual error message</title>
<updated>2020-07-11T19:21:01+00:00</updated>
<author>
<name>Simeon Keske</name>
</author>
<published>2020-05-18T11:29:05+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=a134aa3f35d083bb36340562f61c8d19ea9a9027'/>
<id>a134aa3f35d083bb36340562f61c8d19ea9a9027</id>
<content type='text'>
Signed-off-by: Simeon Keske &lt;git@n0emis.eu&gt;
Signed-off-by: Leo Maroni &lt;git@em0lar.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simeon Keske &lt;git@n0emis.eu&gt;
Signed-off-by: Leo Maroni &lt;git@em0lar.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>add error handling to saml-certs</title>
<updated>2020-07-11T19:21:00+00:00</updated>
<author>
<name>Simeon Keske</name>
</author>
<published>2020-05-06T14:28:34+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=bab0409ed09496ee1b997c40f62e6d8b0ad83013'/>
<id>bab0409ed09496ee1b997c40f62e6d8b0ad83013</id>
<content type='text'>
Signed-off-by: Simeon Keske &lt;git@n0emis.eu&gt;
Signed-off-by: Leo Maroni &lt;git@em0lar.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simeon Keske &lt;git@n0emis.eu&gt;
Signed-off-by: Leo Maroni &lt;git@em0lar.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>allow to set a saml client certificate</title>
<updated>2020-07-11T19:19:49+00:00</updated>
<author>
<name>Simeon Keske</name>
</author>
<published>2020-04-29T16:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=17f0067ab2553fdfd4c7b4043440c9a3e325929c'/>
<id>17f0067ab2553fdfd4c7b4043440c9a3e325929c</id>
<content type='text'>
Signed-off-by: Simeon Keske &lt;git@n0emis.eu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simeon Keske &lt;git@n0emis.eu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport of #278 for 1.6.1</title>
<updated>2020-06-20T14:48:25+00:00</updated>
<author>
<name>Victor Berger</name>
</author>
<published>2020-06-20T14:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=5f3a1b626653d9b6331bfcb673d64324b29e2927'/>
<id>5f3a1b626653d9b6331bfcb673d64324b29e2927</id>
<content type='text'>
This is a backport of #278 with the default value of `scope` changed to
`undefined`. This is thus a fully backward-compatible change.

Signed-off-by: Victor Berger &lt;victor.berger@m4x.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a backport of #278 with the default value of `scope` changed to
`undefined`. This is thus a fully backward-compatible change.

Signed-off-by: Victor Berger &lt;victor.berger@m4x.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Google oauth variable: hostedDomain</title>
<updated>2020-02-08T07:57:22+00:00</updated>
<author>
<name>ike</name>
</author>
<published>2020-02-07T00:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=197223dc81267efb22a63872a42f839b2276e1b6'/>
<id>197223dc81267efb22a63872a42f839b2276e1b6</id>
<content type='text'>
Which is part of `passport-google-oauth2`.
It could be used as whitelist to a domain supported by google oauth.
Ref: https://github.com/jaredhanson/passport-google-oauth2/issues/3

Signed-off-by: ike &lt;developer@ikewat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Which is part of `passport-google-oauth2`.
It could be used as whitelist to a domain supported by google oauth.
Ref: https://github.com/jaredhanson/passport-google-oauth2/issues/3

Signed-off-by: ike &lt;developer@ikewat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
