This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
On Windows Edge Browser, appear Invalid pointer
error.
#1104
Labels
Invalid pointer
error.
#1104
1. I have to say that this is a very good library.
2. I encountered a problem, and an
Invalid pointer
error occurred on Windows Edge (Microsoft Edge 44.17763.1.0, Microsoft EdgeHTML 18.17763), which prevented me from logging in to the front-end page:` ERROR Error: Uncaught (in promise): Error: Invalid pointer Error: Invalid pointer at t.prototype.replaceState (https://test.example.com:447/main-es2015.b46827baf41876384c92.js:1:1093808) at prototype.replaceState (https://test.example.com:447/main-es2015.b46827baf41876384c92.js:1:898830) at t.prototype.replaceState (https://test.example.com:447/main-es2015.b46827baf41876384c92.js:1:896209) at kg.prototype.setBrowserUrl (https://test.example.com:447/main-es2015.b46827baf41876384c92.js:1:1161305) at Anonymous function (https://test.example.com:447/main-es2015.b46827baf41876384c92.js:1:1155122) at Od.prototype._next (https://test.example.com:447/main-es2015.b46827baf41876384c92.js:1:1080768) at g.prototype.next (https://test.example.com:447/main-es2015.b46827baf41876384c92.js:1:782754) at U.prototype._next (https://test.example.com:447/main-es2015.b46827baf41876384c9
`3. But this problem I did not encounter on the new version of Windows Edge (Version 81.0.416.72).
4. My project is an Angular project, the environment is:
`` `
Angular CLI: 8.1.3
Node: 12.6.0
OS: darwin x64
Angular: 8.1.3
`` `
The version of
oidc-client
installed using npm is:"oidc-client": "^ 1.5.0",
5. After debugging, I found that the number of URL characters of the authentication server is lower than 4035, it is no problem, if it is higher than 4035 characters, it will report
Invalid pointer
Error.Such as the following URL, less than 4035 characters, no error
`` `
https://test.example.com:447/signin-oidc#id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYmYiOjE1ODg5MDU1MDQsImV4cCI6MTU4ODk5NTE2NywiaXNzIjoiaHR0cHM6Ly9jYW50b25kZXZpaXMuZ2xvYmV0b29scy5zeXN0ZW1zOjQ0OCIsImF1ZCI6IkEzUyIsIm5vbmNlIjoiNTcyZDFmOGQ5ZDdjNDQ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2QifQ.ClLY6fDzHE-l0rUp7BiNpeAhNusekLRg0ZOxVsYXgqc & token_type = Bearer & expires_in = 3153600 & scope = openid% 20profile% 20email% 20phone% 20address% 20api1 & state = 9353d93a66d644e4b2470a473b15a28c & session_state = xa1Nu-_vQs33KuqtXsdnjMKADBQUMObsKs5ZfaKhqwg.
`` `
If it is higher than 4035 characters, an error will be reported (that is, the number of claims in the token is large (business needs, cannot be reduced))
The text was updated successfully, but these errors were encountered: