Skip to content

[!!!][TASK] Drop felogin event handler #209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## Version 5.x.x

- Breaking: Dropped support for TYPO3 11 LTS and PHP < 8.2
- Breaking: Dropped direct felogin-integration (via event).
Please use the `OidcLinkViewHelper` instead, if you previously relied on the `{openidConnectUri}` variable in your template.


## Version 4.0.0
Expand Down
37 changes: 0 additions & 37 deletions Classes/EventListener/FrontendLoginEventListener.php

This file was deleted.

7 changes: 0 additions & 7 deletions Configuration/Services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ services:
Causal\Oidc\:
resource: '../Classes/*'

Causal\Oidc\EventListener\FrontendLoginEventListener:
tags:
- name: event.listener
identifier: 'causal/oidc'
method: 'modifyLoginFormView'
event: TYPO3\CMS\FrontendLogin\Event\ModifyLoginFormViewEvent

Causal\Oidc\Service\OAuthService:
public: true

Expand Down
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,6 @@ the Swiss Alpine Club, but may be used with any OpenID Connect identity server a
If you are a Swiss Alpine Club section, be sure to get in touch with Bern in
order to get your dedicated private key and secret.


## Default frontend login box

This extension integrates with the system extension 'felogin', if it is installed.

This Fluid markup can be used to include a link to the authentication endpoint of
the identity provider.

```html
<f:if condition="{openidConnectUri}">
<f:then>
<a href="{openidConnectUri}" rel="nofollow" class="btn btn-default"><span class="fa fa-openid"></span> OpenID Connect</a>
</f:then>
<f:else>
Invalid OpenID Connect configuration
</f:else>
</f:if>
```

See also `Resources/Private/Templates/Login/Login.html` as reference.

## Direct OIDC Login

If OpenID Connect is your only means of frontend login, you can use the included
Expand Down
96 changes: 0 additions & 96 deletions Resources/Private/Templates/Login/Login.html

This file was deleted.