-
-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure the TLD, change from ddev.local to something else #834
Comments
Changed the title, hope it reflects your request. |
I would love it if you could explain more why it's important to use a specific domain name. Most local dev environments don't matter what the FQDN is. Could you please explain more about that? Why would SSO matter for a local dev environment? Wouldn't putting a bogus site (like mysite.yoursso.domain) be a bad thing? And since it wasn't in DNS, wouldn't that break things? |
It's really important for SAML authentication and similar authentication mechanisms. When you authenticate against a SAML identity provider (IDP), you are redirected to the IDP, you login, and then you get redirected back to a specific hostname set up in the IDP (with auth information in the URL in query params). Many SAML IDPs will not support redirecting back to an arbitrary URL, so your local environment has to live at a specific hostname. Since the IDP doesn't talk directly to the site you're logging into, not having the site in DNS doesn't affect the success. |
Adding tags. Noting a somewhat related issue that could open the door for other FQDNs #416. |
To answer the question of why you would want SSO for local development, it largely boils down to being able to test application(s) in development. In these apps, the user logs in, are registered as a Drupal user via CAS, and the SSO username is used to fetch additional information via another server. These data are added to user fields--and used for other applications. As to your second point, I am not sure exactly what you mean by 'bad thing.' We have gotten SSO to work on local environments before (via Vagrant and Lando) by using dev.*.edu, and the applications worked in those environments. |
The other items are |
The others can be overridden by make a build time. Doesn't mean that this shouldn't be configurable at runtime. |
Closing this one in favor of #868, which solves this problem as well as others. Ever project can have a unique full URL. |
The TLD does become configurable in #1611, in ddev v1.9 |
Feature request:
Would it be possible to completely remove the .dev.local and replace it with another domain name? For example, dev.example.edu.
We have SSO that only works with one domain naming convention.
What you expected to happen:
Alter the YAML file to specific a completely different hostname.
The text was updated successfully, but these errors were encountered: