The issue occurs even if I don't check the "Used for development" box.
During configuration I mistakenly deleted the three Auth. Providers automatically created when enabling the DevOps Center.
So I manually created them again, without changing the default configuration.
I think this can cause the problem, but I don't know how to properly configure the Auth.Provider named DEVOPS_CENTER_TEST.
P.S. even trying to manually edit the url, it doesn't work. After the Login button click, the system redirects to an access error page.
To Reproduce
N.B. I don't know if the 1st step is reversible, so do it at your own risk.
Delete the following Auth. Providers: DEVOPS_CENTER_GITHUB, DEVOPS_CENTER_PROD, DEVOPS_CENTER_TEST
Manually create them by providing only "Name" and "URL Suffix", leaving any other field blank.
Open the DevOps Center App, open a project then go to "Settings"
Click "Add"
Choose a Name for your environment, then select "Sandbox/Scratch Org"
Check the "Used for development" box (this step is optional, it doesn't work both ways)
Describe the bug
I was following the steps on the configuration guide, but when I try to add the dev environment and click on "Log In" button the system redirects to https://login.salesforce.com/ instead of https://test.salesforce.com/.
The issue occurs even if I don't check the "Used for development" box.
During configuration I mistakenly deleted the three Auth. Providers automatically created when enabling the DevOps Center. So I manually created them again, without changing the default configuration.
I think this can cause the problem, but I don't know how to properly configure the Auth.Provider named DEVOPS_CENTER_TEST.
P.S. even trying to manually edit the url, it doesn't work. After the Login button click, the system redirects to an access error page.
To Reproduce
N.B. I don't know if the 1st step is reversible, so do it at your own risk.
Expected behavior Be redirected to https://test.salesforce.com
Screenshots