Hello, this issue is in the frontend side, the current configuration for oAuthConfig is responseType: 'code',
I have noticed that when the URL contains a query parameter with the word code it is automatically cleared, for example, if I have the variable test_code =1234 this is replaced by test_= Event if I have something like testcode=1234 the result is test=, I am not currently able to add a query parameter with the name that I would like to due to this issue
- Steps to reproduce the issue:
- Configure your oAuthConfig with responseTypeCode
- Open your app in the browser
- Write in the url ?test_code=1234
1 Answer(s)
-
0
Hi, it seems this is a problem with the library that we use on the Angular side. We use
angular-oauth2-oidc
library and it's caused because of this library. There is a similar issue asked in their repository before: https://github.com/manfredsteyer/angular-oauth2-oidc/issues/1465 (so there is nothing we can do in our side)You can try the solution described at https://github.com/manfredsteyer/angular-oauth2-oidc/issues/1465#issuecomment-2691620040 and see if it works for you.
Regards.