- Oct 01, 2019
-
-
Daniel Gerhardt authored
Migrations are once again enabled if `migrate-from` property is set. Code has been refactored to use `@ConditionalOnProperty` instead of a custom implementation for `@Conditional`.
-
Daniel Gerhardt authored
* Add handling for OIDC, SAML and anonymized profiles * Remove prefixes from loginIds
-
Daniel Gerhardt authored
Content groups are created based on question variants of the v2 question documents.
-
Daniel Gerhardt authored
Use Object instead of wildcard for extensions' inner Map See merge request arsnova/arsnova-backend!173
-
Daniel Gerhardt authored
Wildcard types should not be used as return type.
-
Daniel Gerhardt authored
Add additional text properties for content See merge request arsnova/arsnova-backend!172
-
Daniel Gerhardt authored
An additional text and title can be added to contents which can be used for multiple purposes based on the content format. These properties are also used to migrate solution and hint properties from v2.
-
- Sep 30, 2019
-
-
Daniel Gerhardt authored
Add SAML authentication support See merge request arsnova/arsnova-backend!171
-
Daniel Gerhardt authored
Those classes are now used for OAuth, OIDC and SAML authentication handling, so the Oauth prefix would be confusing.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- Sep 29, 2019
-
-
Daniel Gerhardt authored
Fix CAS callback path See merge request arsnova/arsnova-backend!170
-
Daniel Gerhardt authored
While it didn't cause any issues it doesn't make any sense to have the CAS callback path under `/oauth`.
-
Daniel Gerhardt authored
LDAP and SSO auth endpoints See merge request arsnova/arsnova-backend!169
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
HTML/JavaScript code is output by the SuccessHandler to close the browser window if SSO login was opened in a popup.
-
Daniel Gerhardt authored
A short lived cookie is set for the temporary JWT. The cookie will be deleted once the token is manually refreshed. Because the API's callback isn't directly called by the frontend, it doesn't have access to the response. I found three options to pass authentication to the frontend: via URL (query param/fragment identifier), JavaScript in the callback response or a short lived cookie. The cookie is easy to implement and doesn't require any knowledge about the frontend.
-
- Sep 28, 2019
-
-
Daniel Gerhardt authored
A `refresh` parameter has been added to /auth/login to create a new JWT with an extended `expiredAt`.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Make auth callback handling more consistent See merge request arsnova/arsnova-backend!168
-
Daniel Gerhardt authored
Callback URIs for SSO authentication have been adjusted to use a common pattern: `/auth/callback/*`. The Pac4j client name is now based on the provider id an is part of the path instead of a query parameter.
-
Daniel Gerhardt authored
Register Pac4j's AuthenticationProvider for OIDC See merge request arsnova/arsnova-backend!167
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Improve CI config for Maven See merge request arsnova/arsnova-backend!166
-
Daniel Gerhardt authored
Maven options have been added to CI config.
-
Daniel Gerhardt authored
Improve proxy path handling for API See merge request arsnova/arsnova-backend!165
-
Daniel Gerhardt authored
* Automatically append /v2 to `apiPath` in legacy config. * Renamed `api.path` config property to `api.proxy-path`. * `api.proxy-path` is not set by default.
-
Daniel Gerhardt authored
Set Docker images for CI jobs explicitly See merge request arsnova/arsnova-backend!164
-
Daniel Gerhardt authored
-
- Sep 27, 2019
-
-
Daniel Gerhardt authored
Restrict config endpoint to HTTP GET method See merge request arsnova/arsnova-backend!163
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Fix calculation of JWT's exp value (expires at) See merge request arsnova/arsnova-backend!162
-
Daniel Gerhardt authored
The time zone conversion was handled incorrectly which lead to the exp value being in the past or too far in the future if the system's time zone was not UTC.
-
- Sep 25, 2019
-
-
Tom Käsler authored
Config endpoint See merge request !161
-
- Sep 24, 2019
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
This endpoint returns properties for enabled authentication providers, a list of enabled features and UI-specific properties.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Configuration properties are now additionally loaded from: * secrets.yml * ui.yml Properties in these files are merged with properties from application.yml and override existing ones.
-