• After get logged in using cognito, it redirects to my page with the “code” as a parameter in the url, this is perfect. the problem is that immediately it redirects again to my page but now without the “code”. is posible to avoid that behavior?,

    in the login settings “the custom redirect to url after login” options says: “(Keep blank in case you want users to redirect to page from where SSO originated)”. maybe is it the problem? if so, what if i dont want to redirect?

    thanks for your help.

    im using the free version by the way.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Thank you for reaching out to us.

    As I understand, you do not want to redirect again with no code parameter. Can you tell me after second redirection the SSO user is logged into your site?

    Yes, if you keep the Custom redirect URL after login blank, will be there by default in the free version, will redirect users to the home page after SSO. So can you confirm that you want to redirect users to another page after SSO? Also, the second redirection after code parameter is necessary to create a SSO user session on your website.

    Let me know the exact issue you are facing in this user flow so that I can help you out with your requirements. To make faster progress in our conversation, can we schedule a Zoom meeting call. You can reach out to us via plugin support form so that we can share the zoom link with you.

    Thanks

    Thread Starter eyoyey

    (@eyoyey)

    Hello again, yea, after the second redirect the user is logged into my site.

    The redirection functionality is not really important to me. The real problem is that in the second redirect the code parameter is not available, and i need to catch this parameter in order to use that in my system

    Thread Starter eyoyey

    (@eyoyey)

    Hello again, im planning to pay your premium service, but im not sure if i can get this parameter, this is so important to me, also i see that is posible to change it, and use “refresh token grant” instead of Code:

    I will be waiting for your answer, tanks for your time.

    Using the Paid version, you can catch the ‘code’ parameter but not using the refresh token grant. You need to use the authorization code grant to grab the code parameter.

    Can you explain little more about the exact user flow you are looking for by using the code parameter? As our plugin already handles all the validations on code parameter so you do not need to worry about the SSO.

    Are you looking to allow your users to login into the WP site using their Cognito credentials? We can also speed up the conversation by setting up a zoom call. Reach out to us if that works for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect issue with cognito.’ is closed to new replies.