I'm building a SPA with Angular and using a custom SAML provider with Cognito. Cognito finally redirects to my application correctly with id_token and access_token but however this is the format of the redirect url
https:///#/access_token=&id_token=
Do notice the extra "/" after the "#"(fragment). This basically breaks the parseCognitoWebResponse function and I had to modify the url before parseCognitoWebResponse consumes it.
Is this something anyone else faced? As far as I know, this is not an issue with the SPA app and is mostly coming from the js auth sdk
I'm building a SPA with Angular and using a custom SAML provider with Cognito. Cognito finally redirects to my application correctly with id_token and access_token but however this is the format of the redirect url
https:///#/access_token=&id_token=
Do notice the extra "/" after the "#"(fragment). This basically breaks the parseCognitoWebResponse function and I had to modify the url before parseCognitoWebResponse consumes it.
Is this something anyone else faced? As far as I know, this is not an issue with the SPA app and is mostly coming from the js auth sdk