Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage.
Provide us with the following info:
🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration
button.
- Exception message and full stack trace:
- Steps to reproduce the issue:
4 Answer(s)
-
0
To obtain a JWT token from an ABP-based application, you typically use the
/connect/token
endpoint, which is provided by IdentityServer or OpenIddict in ABP solutions. The endpoint expects a POST request with the appropriate parameters, such asgrant_type
,client_id
,client_secret
,username
,password
, andscope
.Example request (using Resource Owner Password Credentials flow):
POST https://<your-abp-app>/connect/token Content-Type: application/x-www-form-urlencoded grant_type=password &client_id=YourClientId &client_secret=YourClientSecret &username=admin &password=YourPassword &scope=YourApiScope
Replace the placeholders with your actual values. The response will include an
access_token
if the credentials are valid.If you are using a development environment, make sure your API is running and accessible at the specified URL. Also, ensure that the client is configured in your IdentityServer/OpenIddict settings.
No verified source available for this specific query.
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
hi
Could you provide more information about your case?
Thanks.
-
0
-
0
hi
You can pass the
__tenant
parameter to the HTTP request manually before getting an access token.