Skip to content
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

Example.com still part of the callbacks in the AppClient Allowed callback URLs #454

Closed
gmuslia opened this issue May 15, 2023 · 2 comments
Closed
Labels
priority: low status: not-picked-yet At the moment we have not picked this item. Anyone can pick it up type: bug Something isn't working

Comments

@gmuslia
Copy link
Contributor

gmuslia commented May 15, 2023

https://github.com/awslabs/aws-dataall/blob/13a2fc082694600a0dacaa7e88d0d61ec950d753/deploy/configs/cognito_urls_config.py#L61

It checks for example.com where instead the right callback to check is https://example.com and that's why it doesn't get replaced during the configuration phase.

@dlpzx dlpzx added type: bug Something isn't working priority: low status: not-picked-yet At the moment we have not picked this item. Anyone can pick it up labels May 17, 2023
@dlpzx
Copy link
Contributor

dlpzx commented May 17, 2023

@gmuslia thanks for raising this issue and providing the reason. I know what you are referring to, but if you have availability you can go ahead and fix it in a PR. Since it is a patch it can be opened to the main branch and it will be part of the next patch release.

@gmuslia
Copy link
Contributor Author

gmuslia commented May 17, 2023

Thank you, I just submit the PR @dlpzx. Have tested locally the same scenario and it does the full-text match correctly this time.

dlpzx pushed a commit that referenced this issue May 17, 2023
### Feature or Bugfix
- BugFix

### Detail
- In line
(https://github.com/awslabs/aws-dataall/blob/13a2fc082694600a0dacaa7e88d0d61ec950d753/deploy/configs/cognito_urls_config.py#L61)

It checks for example.com where instead the right callback to check is
```https://example.com``` and that's why it doesn't get replaced during
the configuration phase.

### Relates
- #454

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
@dlpzx dlpzx closed this as completed May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low status: not-picked-yet At the moment we have not picked this item. Anyone can pick it up type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants