Replies: 1 comment
-
The module is strictly for OAuth, so basic Auth isn't covered. An alternative would be to use Consume which has Basic Auth support to create a client you can access in your templates, or via PHP. You could set the cache for the client to 15 minutes, so that it'll return the same credentials for 15 minutes, until the next call which would assumedly generate a new one. Otherwise, your authentication for basic auth sounds unique in that the token needs refreshing every 15 minutes. It's not a common thing that I've encountered before! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Can this module work with Basic Auth?
I need to use Feed Me with an Auth token that needs refreshing (15 minutes)
So essentially a plugin that check refresh timestamp and get a new token if needed. but only using a Authorization: Bearer Header
What would I need to add to this module if Basic Auth is not possible?
Beta Was this translation helpful? Give feedback.
All reactions