Authorization Code grant flow is recommended even for public client applications like Angular in up-coming OAuth 2.1.
But Angular apps are usually SPA, which means there isn't a built-in server side to store client_secret.
Library 'angular-oauth2-oidc' claims to support code grant flow, but I could not find any open sourced solution available.
Tried Vouch Proxy but it sets cookie ,which containing access_token and id_token, but that cookie would not be recognized by angualr-oauth2-oidc. code flow in angualr-oauth2-oidc is implemented as a xhr request to https://{your-authentication-server}/token.oauth2 so those two doesn't match up.
Any ideas, corrections or workarounds are greatly appreciated.