Give authentication plugins access to the current URL

Created on 4 March 2019, over 6 years ago
Updated 5 June 2025, 20 days ago

Problem/Motivation

I'm trying to write an authentication plugin that requests each request to be signed. In order to do this, it needs to know the current URL, as that makes up part of the signature.

Proposed resolution

Pass the current URL to the getAuthenticationMethods() function so this can be achieved.

Remaining tasks

- See if this affects any tests
- Decide how to communicate this change to anyone with a custom authentication plugin

User interface changes

None

API changes

Change to interface would affect anyone else that has written a custom authentication plugin, although I'm not sure how common this is.

Data model changes

None

Release notes snippet

None

Feature request
Status

Active

Version

6.0

Component

Plugins

Created by

🇦🇺Australia daniel.nitsche Melbourne, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024