Open tsegato opened 5 years ago
I'm also having same issue, any update on this?. When the callback happened the url has string with #id_token=xxxxxxxx. Angular 6 thinks, this is an url fragment and trying to locate the element in the template with this id 'id_token=xxxxxxx'. Is there any way to remove the # or #id_token when the callback happened?
Attached the piece of code that throwing the error.
Was this resolved? I think this issue is why my token is null and userInfo.authenticated is false for me
I get follwoing error in Angular 6 on my callback page: ERROR DOMException: Failed to execute 'querySelector' on 'Document': '#id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imk2bEdrM0ZaenhSY1ViMkMzbkVRN3N5SEpsWSIsImtpZCI6Imk2bEdrM0ZaenhSY1ViMkMzbkVRN3N5SEpsWSJ9.eyJhdWQiOiI0YmNjODE1Ni02NWI0LTQ5MTQtOTA1Yy1hZWNjM2U5MTk3ZjUiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5l However it seems I get the token needed. Is there away to avoid this error?