Replies: 3 comments 7 replies
-
See this it should help. |
Beta Was this translation helpful? Give feedback.
6 replies
-
How would this request look raw? For example using httpclient in dot net? And regarding the question about token management it best to cache the token or get a new one every time.On 16 Jan 2024 15:37, SimpleIdServer ***@***.***> wrote:
Indeed, clicking on the Authorization tab is not enough; you must follow the actions below:
Select the first Get access token request.Click on the Authorization tab and click on the Get new access token button.
image.png (view on web)
Once the access token is received, select the request you are interested in executing, for example, Add one user.Choose the Authorization tab and enter the new token
image.png (view on web)
Postman retains the token in its cache, and an error message is displayed when the access token expires.
You can click on the Refresh link to renew the access token :).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
@Alik2015
Your HTTP request is correct :)
Could you please check the following points?
* Ensure that the apitesting client is configured with the password grant type.
* Verify that the password for the specified username is active.
…________________________________
De : Am ***@***.***>
Envoyé : mardi 30 janvier 2024 14:45
À : simpleidserver/SimpleIdServer ***@***.***>
Cc : Subscribed ***@***.***>
Objet : Re: [simpleidserver/SimpleIdServer] How to use SimpleIdServer as a headless service? (Discussion #673)
Assuming I have a user set up called testuser and client called apitesting for testing the api via unit tests set up as Machine client. I am trying to obtain a token for testuser using the postman but get an error. Might be missing a setting maybe?
image.png (view on web)<https://github.com/simpleidserver/SimpleIdServer/assets/31630746/aaa301e3-b3da-47e9-82c6-1f44f9ccfa0e>
—
Reply to this email directly, view it on GitHub<#673 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACXN254VD6AAOUH6MFCABATYRD2O5AVCNFSM6AAAAABBLBCQRSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGMBVGU2DK>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use SimpleIdServer to manage identities and control the access by only using its APIs and building a custom UI. But the docs haven't explained how to use its APIs (no API references). I currently don't know what each API is for, and what is needed to call that API (such as scopes, permissions, etc.).
Beta Was this translation helpful? Give feedback.
All reactions