Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature Request] - Enable custom domain #32

Closed
mazzolia-prom opened this issue Jul 6, 2023 · 8 comments
Closed

[Feature Request] - Enable custom domain #32

mazzolia-prom opened this issue Jul 6, 2023 · 8 comments
Labels
closing-soon enhancement New feature or request

Comments

@mazzolia-prom
Copy link

Describe the bug
Hi,
we are trying to set up an amplify custom domain, to serve as frontend but we can't figure out.

To Reproduce
We created the amplify domain and associated to the amplify app

Screenshot 2023-07-06 at 09 13 22

we set up the Identity center APP

Application start URL = https://d140lbzcafqm2w-prod.auth.eu-west-1.amazoncognito.com/authorize?client_id=1prrp5ip6hno5l3qb96vomrauc&identity_provider=IDC&response_type=code&scope=aws.cognito.signin.user.admin+email+openid+phone+profile&redirect_uri=https://team-request.prometeiasaas.com/&idp_identifier=IDC

but on click

Screenshot 2023-07-06 at 09 16 11

the redirect uri specified in the Application start URL goes to the Amplify default domain instead the custom domain

Screenshot 2023-07-06 at 09 16 38

this is the cognito application web client

Screenshot 2023-07-06 at 09 19 53

Expected behavior
cognito redirect to the custom domain

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser Chrome
  • Version 114.0.5735.198

Smartphone (please complete the following information):

Additional context
Add any other context about the problem here.

@tawoyinfa
Copy link
Contributor

@mazzolia-prom can you try removing the default amplify domain from the allowed callback URLs and retaining only your custom domain ?

@tawoyinfa tawoyinfa moved this to Backlog in TEAM Roadmap Jul 12, 2023
@tawoyinfa tawoyinfa added the enhancement New feature or request label Jul 12, 2023
@tawoyinfa tawoyinfa changed the title set up custom domain [Feature Request] - Enable custom domain Jul 12, 2023
@tawoyinfa tawoyinfa moved this from Backlog to In Progress in TEAM Roadmap Jul 13, 2023
@tawoyinfa tawoyinfa moved this from In Progress to Backlog in TEAM Roadmap Jul 13, 2023
@EGHPrometeia
Copy link

EGHPrometeia commented Jul 17, 2023

@tawoyinfa I have the same problem. I tried to remove the default amplify domain from the allowed callback URLs, retaining only my custom domain. If I try to access the app from SSO, I am redirected to my custom domain. Nevertheless, I receive a 400 error ('configuration_mismatch') when I click on the 'Federated #' button.

@tawoyinfa
Copy link
Contributor

@EGHPrometeia did you update your Application start URL in the Identity center configuration for the TEAM application to reflect your custom domain ?

@EGHPrometeia
Copy link

@tawoyinfa yes, we updated the Application Start URL as follows:

https://d140lbzcafqm2w-prod.auth.eu-west-1.amazoncognito.com/authorize?client_id=1prrp5ip6hno5l3qb96vomrauc&identity_provider=IDC&response_type=code&scope=aws.cognito.signin.user.admin+email+openid+phone+profile&redirect_uri=https://team-request.prometeiasaas.com/&idp_identifier=IDC.

As you can see we updated it with our custom domain name.

Thanks

@karl-mentzer
Copy link

Vote for Feature

@github-actions
Copy link

github-actions bot commented Oct 6, 2023

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.

@ffgarciam
Copy link

We would like this feature as well.

Copy link

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
closing-soon enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

5 participants