Support » Plugin: Authorizer » Add field for custom second-level domain

  • Resolved dazweeja


    There is code in custom_authenticate_cas and elsewhere that tries to guess the second-level domain (actually refers to TLD but that’s not accurate given the description, eg. The problem is that this doesn’t work for many countries, eg.,,

    The result of this is that users from my university have incorrect emails created. For example, instead of it creates

    Would it be possible to have a custom field to specify the SLD or, probably more usefully, to specify the default email domain (as this may be different again)?

    In case it’s relevant, the CAS server at our university doesn’t return any attributes so this wouldn’t help, ie. phpCAS::getAttributes() is an empty array.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add field for custom second-level domain’ is closed to new replies.