- Newest
- Most votes
- Most comments
Hi, for the first question you are asking:
when I go to test the get method without adding an authorization token in the header, I will still get a response body, even though I should get an authorization error.
If you test the API from the test interface the cognito authentication is not required, you should deploy your api and then try to call them from an external client. In that case you will see that the authentication mechanism is actually working.
for the second question:
Second, on the dragons website, after I add my own Dragons Endpoint, Cognito Domain, and Cognito Client ID, when I try to login, I will an error: This site can’t be reached Check if there is a typo in https. If spelling is correct, try running Connectivity Diagnostics. DNS_PROBE_FINISHED_NXDOMAIN
can you try to better explain the architecture that your are actually building? the issue that you are facing is related to the DNS so it's probable that the domain that you are trying to reach does not exist. Since you are using HTTPS did you setup some certifications? Is it possible that your website is only running on HTTP?
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Hi, after a bit, I figured out what was going on. For the second question, I found out that the page was adding an extra "http://" to the string before sending it off to be validated. I took that out and it worked properly.