You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use it to let people log in to my album with a Google or Azure (Hotmail, outlook, etc etc account). It forwards some user details in specific HTTP headers. One of them I used in this plugin as the source for the username.
What would be a great addition is to also do the same for the user's email address. Now it's only possible to set the user's name + some fixed domain as a email address. But as the real email is in the OpenID Connect token from Google/Azure, I want to get it from there.
The chance that every visitor is under one domain with his email is also near zero.
The text was updated successfully, but these errors were encountered:
I'm not familiar with Caddy, but if it supplies the email as a Server variable, it wouldn't be difficult to add an option to use that as the default when creating an account (perhaps even syncing the value with the account on authentication?...hmmm).
I'm a little swamped this week, but I'll see if I can investigate this "soon" (perhaps in the coming weeks)
I've pushed an updated version (0.5.1) that adds support for defaulting a new users email from server variables. If you're still interested in this feature, give it a try, and if it works for you I'll push a new release :)
First of all, thanks for this nice plugin!
I'm using it in combination with Caddy in front of Piwigo and these Caddy plugins:
I use it to let people log in to my album with a Google or Azure (Hotmail, outlook, etc etc account). It forwards some user details in specific HTTP headers. One of them I used in this plugin as the source for the username.
What would be a great addition is to also do the same for the user's email address. Now it's only possible to set the user's name + some fixed domain as a email address. But as the real email is in the OpenID Connect token from Google/Azure, I want to get it from there.
The chance that every visitor is under one domain with his email is also near zero.
The text was updated successfully, but these errors were encountered: