OAuthError: The authorization server id is invalid

I am trying to test the implicit flow with hosted login using Angular and it is failing with the following error -

ERROR Error: Uncaught (in promise): OAuthError: The authorization server id is invalid.
OAuthError: The authorization server id is invalid.

I followed steps as specified in -

Hi @vemurik, thank you for posting your question on the Okta devforum!

Can you to compare the application you are trying to build with our working Angular sample app: https://github.com/okta/samples-js-angular/tree/master/okta-hosted-login ? The sample app will help you to understand how to setup the implicit flow correctly.