<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hedgedoc/lib/web/auth/oauth2, 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 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>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>Removing returnTo setting from referer in all other authentication sources</title>
<updated>2019-11-28T11:25:59+00:00</updated>
<author>
<name>Ralph Krimmel</name>
</author>
<published>2019-11-28T11:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=3fb3ca54e9c038ad091d234b19f5bd64003f8321'/>
<id>3fb3ca54e9c038ad091d234b19f5bd64003f8321</id>
<content type='text'>
Signed-off-by: Ralph Krimmel &lt;rkrimme1@gwdg.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ralph Krimmel &lt;rkrimme1@gwdg.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix eslint warnings</title>
<updated>2019-05-30T22:30:29+00:00</updated>
<author>
<name>Sheogorath</name>
</author>
<published>2019-05-30T22:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=4da68597f701376307fe8849ed57edd3a80833ed'/>
<id>4da68597f701376307fe8849ed57edd3a80833ed</id>
<content type='text'>
Since we are about to release it's time to finally fix our linting. This
patch basically runs eslint --fix and does some further manual fixes.
Also it sets up eslint to fail on every warning on order to make
warnings visable in the CI process.

There should no functional change be introduced.

Signed-off-by: Sheogorath &lt;sheogorath@shivering-isles.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we are about to release it's time to finally fix our linting. This
patch basically runs eslint --fix and does some further manual fixes.
Also it sets up eslint to fail on every warning on order to make
warnings visable in the CI process.

There should no functional change be introduced.

Signed-off-by: Sheogorath &lt;sheogorath@shivering-isles.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo</title>
<updated>2018-11-27T14:14:37+00:00</updated>
<author>
<name>CloudYu</name>
</author>
<published>2018-11-27T14:13:18+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=35a9f72a06dd1ed28f16161028b5407dd3511ac0'/>
<id>35a9f72a06dd1ed28f16161028b5407dd3511ac0</id>
<content type='text'>
Signed-off-by: CloudYu &lt;cloudyu322@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: CloudYu &lt;cloudyu322@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>InternalOAuthError is not part of passport, but of passport-oauth2</title>
<updated>2018-11-14T13:38:47+00:00</updated>
<author>
<name>Claudius Coenen</name>
</author>
<published>2018-11-14T09:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=56c043424dfdeb7e0568ecc76bf9e754696881a0'/>
<id>56c043424dfdeb7e0568ecc76bf9e754696881a0</id>
<content type='text'>
This fixes part of #1056: an error while obtaining the profile
would have `502`-crashed the server.

Signed-off-by: Claudius Coenen &lt;opensource@amenthes.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes part of #1056: an error while obtaining the profile
would have `502`-crashed the server.

Signed-off-by: Claudius Coenen &lt;opensource@amenthes.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for generic OAuth2 providers</title>
<updated>2018-03-26T13:55:39+00:00</updated>
<author>
<name>Pedro Ferreira</name>
</author>
<published>2017-06-27T17:08:05+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=40b385570291278f44806446f702ee61e1382805'/>
<id>40b385570291278f44806446f702ee61e1382805</id>
<content type='text'>
Signed-off-by: Pedro Ferreira &lt;pedro.ferreira@cern.ch&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pedro Ferreira &lt;pedro.ferreira@cern.ch&gt;
</pre>
</div>
</content>
</entry>
</feed>
