damienbod / angular-auth-oidc-client

npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow
https://www.npmjs.com/package/angular-auth-oidc-client
MIT License
1.11k stars 418 forks source link

[Bug]: Missing field token_type in AuthResult #1906

Closed CesarD closed 2 months ago

CesarD commented 3 months ago

Version

17.0.0

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Steps to reproduce the behavior

Up to v16.0.1, the OidcSecurityService.getAuthenticationResult() returned a type any. From v17.0.0, it's returning the type AuthResult, which misses a field that (at least I) was expecting to have and that it worked transparently with any, but now it breaks with the new return type.

A clear and concise description of what you expected to happen.

I was expecting AuthResult to include the field token_type among all the other fields it contains.

Additional context

No response

CesarD commented 2 months ago

Hi @FabianGosebrink / @damienbod

Any idea when the new package version will be released?

Thanks!