AWS congnito giving me “redirect_mismatch” Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceDoes amzon congnito support for authenticating for IAM userHow to add user to User Pools of Amazon Congnito with Amazon PHP SDKExamples of Ruby on rails + aws congnitoAuthenticating user in AWS Cognito User/Identity Pool with Google as identity providerFacebook login setup for Cognito hosted UI on localhostAuthenticate social identity federation user to AWS Userpool? - AndroidLogin with salesforce using AWS Cognito OpenID connectAWS and CognitoLogin on AWS Cognito via Facebook problemUsing Microsoft as an IdP in AWS Cognito
How do I automatically answer y in bash script?
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Estimate capacitor parameters
Was credit for the black hole image misattributed?
Slither Like a Snake
How are presidential pardons supposed to be used?
What is the largest species of polychaete?
Are my PIs rude or am I just being too sensitive?
Fishing simulator
Aligning matrix of nodes with grid
Communication vs. Technical skills ,which is more relevant for today's QA engineer positions?
If I can make up priors, why can't I make up posteriors?
Cold is to Refrigerator as warm is to?
How to add zeros to reach same number of decimal places in tables?
What to do with post with dry rot?
Does a C shift expression have unsigned type? Why would Splint warn about a right-shift?
Can smartphones with the same camera sensor have different image quality?
Why is "Captain Marvel" translated as male in Portugal?
Am I ethically obligated to go into work on an off day if the reason is sudden?
What is the electric potential inside a point charge?
How to say that you spent the night with someone, you were only sleeping and nothing else?
Problem when applying foreach loop
How to dynamically generate the hash value of a file while it gets downloaded from any website?
What items from the Roman-age tech-level could be used to deter all creatures from entering a small area?
AWS congnito giving me “redirect_mismatch”
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceDoes amzon congnito support for authenticating for IAM userHow to add user to User Pools of Amazon Congnito with Amazon PHP SDKExamples of Ruby on rails + aws congnitoAuthenticating user in AWS Cognito User/Identity Pool with Google as identity providerFacebook login setup for Cognito hosted UI on localhostAuthenticate social identity federation user to AWS Userpool? - AndroidLogin with salesforce using AWS Cognito OpenID connectAWS and CognitoLogin on AWS Cognito via Facebook problemUsing Microsoft as an IdP in AWS Cognito
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Whenever I direct the browser to the Cognito logout endpoint with a redirect_uri of anything other than:
http://localhost:63882/signin-oidc
I get a "redirect_mismatch" error.
I am aware whatever I pass in redirect_uri needs to be in the list of configured callback URLs and sign_out URLs in teh Cognito control panel - this is set up.
So for example this won't work:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/Protected&state=STATE&scope=openid+profile
This does:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/signin-oidc&state=STATE&scope=openid+profile
What am I missing? My understanding is I should be able to set redirect_uri to any page that I want providing it is listed in the callback URLs in the control panel.
amazon-cognito
add a comment |
Whenever I direct the browser to the Cognito logout endpoint with a redirect_uri of anything other than:
http://localhost:63882/signin-oidc
I get a "redirect_mismatch" error.
I am aware whatever I pass in redirect_uri needs to be in the list of configured callback URLs and sign_out URLs in teh Cognito control panel - this is set up.
So for example this won't work:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/Protected&state=STATE&scope=openid+profile
This does:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/signin-oidc&state=STATE&scope=openid+profile
What am I missing? My understanding is I should be able to set redirect_uri to any page that I want providing it is listed in the callback URLs in the control panel.
amazon-cognito
add a comment |
Whenever I direct the browser to the Cognito logout endpoint with a redirect_uri of anything other than:
http://localhost:63882/signin-oidc
I get a "redirect_mismatch" error.
I am aware whatever I pass in redirect_uri needs to be in the list of configured callback URLs and sign_out URLs in teh Cognito control panel - this is set up.
So for example this won't work:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/Protected&state=STATE&scope=openid+profile
This does:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/signin-oidc&state=STATE&scope=openid+profile
What am I missing? My understanding is I should be able to set redirect_uri to any page that I want providing it is listed in the callback URLs in the control panel.
amazon-cognito
Whenever I direct the browser to the Cognito logout endpoint with a redirect_uri of anything other than:
http://localhost:63882/signin-oidc
I get a "redirect_mismatch" error.
I am aware whatever I pass in redirect_uri needs to be in the list of configured callback URLs and sign_out URLs in teh Cognito control panel - this is set up.
So for example this won't work:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/Protected&state=STATE&scope=openid+profile
This does:
https://MY_POOL_NAME.auth.eu-west-2.amazoncognito.com/logout?response_type=code&client_id=MY_CLIENT_CODE&redirect_uri=http://localhost:63882/signin-oidc&state=STATE&scope=openid+profile
What am I missing? My understanding is I should be able to set redirect_uri to any page that I want providing it is listed in the callback URLs in the control panel.
amazon-cognito
amazon-cognito
asked Jan 9 at 12:16
PseudoPseudo
86111
86111
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Turns out signin-oidc is the default redirect set up by the middleware so unless you specifically change it you just need to have signin-oidc configured in Cognito callback URLs.
add a comment |
In my case I had the callback url set to http://... in the app client settings, but in a fiddler trace the callback url was https://...
After changing the url in the client app settings to https://... I got the login page
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54109971%2faws-congnito-giving-me-redirect-mismatch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Turns out signin-oidc is the default redirect set up by the middleware so unless you specifically change it you just need to have signin-oidc configured in Cognito callback URLs.
add a comment |
Turns out signin-oidc is the default redirect set up by the middleware so unless you specifically change it you just need to have signin-oidc configured in Cognito callback URLs.
add a comment |
Turns out signin-oidc is the default redirect set up by the middleware so unless you specifically change it you just need to have signin-oidc configured in Cognito callback URLs.
Turns out signin-oidc is the default redirect set up by the middleware so unless you specifically change it you just need to have signin-oidc configured in Cognito callback URLs.
answered Jan 21 at 17:31
PseudoPseudo
86111
86111
add a comment |
add a comment |
In my case I had the callback url set to http://... in the app client settings, but in a fiddler trace the callback url was https://...
After changing the url in the client app settings to https://... I got the login page
add a comment |
In my case I had the callback url set to http://... in the app client settings, but in a fiddler trace the callback url was https://...
After changing the url in the client app settings to https://... I got the login page
add a comment |
In my case I had the callback url set to http://... in the app client settings, but in a fiddler trace the callback url was https://...
After changing the url in the client app settings to https://... I got the login page
In my case I had the callback url set to http://... in the app client settings, but in a fiddler trace the callback url was https://...
After changing the url in the client app settings to https://... I got the login page
answered Mar 22 at 7:24
DivanDivan
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54109971%2faws-congnito-giving-me-redirect-mismatch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown