401 (Unauthorized) when trying to call okta protected API from an angular app

Hi Andreas, thank you for answering.
However, funny enough, my json looks like this:

{
“end_session_redirect_uri”: “com.kb.mystravastatsandroidapp:/logout”,
“redirect_uri”: “com.kb.mystravastatsandroidapp:/login”,
“scopes”: [
“openid”,
“profile”,
“offline_access”
],
“issuer”: “https://dev-933944.okta.com/oauth2/default”,
“client_id”: “xxxxxxxxx”
}

the readme said also something about adding a config.json which I did and I also added this issuer there.
however, I still see the issuer as “https://dev-933944.okta.com/oauth2/default” in the providerConfiguration just before firing the request in SyncSessionClientImpl.createAuthorizedRequest.

so where does the wrong value come from? is it a bug? or maybe should I change the discoveryuri or org_URL and add the oauth2/default suffix?

Btw, I struggle to call the authorize endpoint from postman, getting an html file, maybe some parameters are wrong…