Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

token return userid #1063

Open
DanielRibeiroArrais opened this issue Jul 24, 2024 · 1 comment
Open

token return userid #1063

DanielRibeiroArrais opened this issue Jul 24, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@DanielRibeiroArrais
Copy link

https://xxxxx/connect/token

client_id:xxx
client_secret:secret_xxxx
grant_type:client_credentials
username:[email protected]
password:xxxx@xxx

when returning the precise token from the userid

@DanielRibeiroArrais DanielRibeiroArrais added the question Further information is requested label Jul 24, 2024
@matiasvallejosdev
Copy link

The request seems to mix client credentials and password grant types. For user authentication, use "grant_type=password" instead of "client_credentials". Ensure all parameters are correct and sent securely. If issues persist, check server logs or documentation for specific error details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants