Leandro Hermida wrote:
> Is it possible to tell Galaxy to use the bare username passed back by
> external authentication as the email address without appending any
> domain? It seems to complain if it isn't in email address format and
> asks you to set up a domain to append in universe.wsgi.
> I would like to use the bare username as the email address since it
> works fine as an email address in for example any Active
> Directory-based organization and also in many non-academic
> organizations it is preferred not to use the email addresses as the
If you're using any of Galaxy's mail services, your SMTP server would
also need to be able to accept mail to users with no domain. That said,
you should be able to hack
lib/galaxy/web/framework/middleware/remoteuser.py to do what you want.
Specifically, remove/comment the conditional:
if not environ[ 'HTTP_REMOTE_USER' ].count( '@' ):
> thanks in advance,
> Please keep all replies on the list by using "reply all"
> in your mail client. To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at: