Hello All, seems the cognito hosted UI logout URL ...
# help
c
Hello All, seems the cognito hosted UI logout URL is getting generated wrong. I have the custom domain setup "auth.myebsite.com" . So the logout URI should be "https://auth.mywebsite.com/logout?client_id=<client_id>&logout_uri=https://website.com/" . However when I do Auth.signout() , the URL is re-directed to "https://auth.mywebsite.com.auth.ap-southeast-1.amazoncognito.com/logout?client_id=<client_id>&logout_uri=https://website.com/". I am missing something or it is a bug ? Login URI works perfect .
j
@Frank just bringing this up as well. Looks like we didn’t get a chance to help @chittasec.
f
Hey @chittasec sorry for the late follow up. Yeah it seems the domain was treated as a subdomain by Cognito.
Were you able to get this to work?