Reply To: To get Current user details in jhipster

Home Forums Open Source Discussions JHipster Discussion To get Current user details in jhipster Reply To: To get Current user details in jhipster

#128792
Balvinder Singh
Keymaster

Hi,
Case 1 – yes, you can call userWithAuthorities to get the current logged in user.

Case 2 – this method works on JWT, so if all users are logged in but have different credentials, you will get the user using the resource.

Here you can check updated methods User Service Jhipster

Thanks