I don’t understand, what should I do first. I get the access_token like this
http://127.0.0.1:9090/oauth2/authorization/maintenance-client
after
Then I log in to the oauth service, which ******** and password ******* and finally it returns the code to me like this.
http://127.0.0.1:9090/api/users/authorized?code=Cwb8exC-yKHBJpjDElkUX3ViHvu64DnCTjC-UhjTLIEwXKYECogKfpFUprpbvZTBx1MfjvVJJq2XpEPb6Z7MBk4ggQ8dP_ilOvn8yTfC50sneN4KfRLr1L61ZSGaibhY&state=sM6CDQv_ApCIrOHc3iZfOKCwqtRjFPMKorcT-EDZcPs%3D
finally I make a post to this url from postman 127.0.0.1:9089/oauth2/token
code: Cwb8exC-yKHBJpjDElkUX3ViHvu64DnCTjC-UhjTLIEwXKYECogKfpFUprpbvZTBx1MfjvVJJq2XpEPb6Z7MBk4ggQ8dP_ilOvn8yTfC50sneN4KfRLr1L61ZSGaibhY&state=sM6CDQv_ApCIrOHc3iZfOKCwqtRjFPMKorcT-EDZcPs
grant_type: authorization_code
redirect_uri: http://appmic-e-commerceplugins-maintenance:9090/api/users/authorized
and there it returns the access_token, however, it is invalid 401, but when I test locally, it works. I think the problem is that the issuer is different