P
P
Pantene7422020-06-05 21:23:07
OAuth
Pantene742, 2020-06-05 21:23:07

How to set access_token programmatically in OIDC?

Can't figure out oidc-client on the front. I am using Angular.
I have an alternate authorization method that works exactly the same
as the POST /token we pass to oidc-config. But it does not work according to the standards of this method
described in the library (It accepts a body that is not the same as the library requires, returns everything as it should).
It is unrealistic to change it in the config.

You need to somehow take the response from the additional method (the response is the same as /token described in the oidc lib)
and visit this data. I tried the this.mgr.storeUser method. I don't find any other suitable methods. I do not know what to do.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question