My question may be basic but I have trouble finding a way to update user profile from my own angular UI.
I didn’t think a basic user operation like this is that much complicated but it seems it is.
I followed the instruction to update my user, using okta user API:
And then I tried to apply the same concept in my angular project which I managed to use Okta angular widget and I can register user and login from my app.
this is my configuration:
scopes: [‘openid’, ‘profile’, ‘email’, ‘okta.users.manage.self’],
With this scope ‘okta.users.manage.self’, it gives me an error like this:
error.errorCode: invalid_scope, error.description: One or more scopes are not configured for the authorization server resource.
Someone educate me on how to set okta specific scopes in angular projects.
I think somewhere I read just Okta Service Client can mint tokens using okta specific scopes. But my postman test uses the same client as my angular project.