REST API knowledge exchange
Post Reply
sandinetcom
Enthusiast
Posts: 29
Liked: 1 time
Joined: Oct 01, 2019 6:04 am
Full Name: Sandip Saha
Contact:

unable to login api

Post by sandinetcom »

Dear Team,

I am face a issue unable to login api https://localhost:9398/web/#/api/
when I click on task it is asking username password but after given username password its show same logging prompt
my user is portal administrator permission it can login veeam enterprise manager but not login in api

Please help anyone

Thanks
Sandip
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: unable to login api

Post by oleg.feoktistov »

Hi Sandip,

The one and only case I could reproduce the creds prompt appearing over and over in regardless the browser and EM REST API version is when incorrect credentials are inserted. That's exactly what you are describing.
Now, I'm not saying that's your issue precisely, but it might be worth double checking the creds you insert. Apart from that, I would test this through other REST clients (Postman, Powershell, Javascript libraries or else) to isolate the issue.


Thanks,
Oleg
sandinetcom
Enthusiast
Posts: 29
Liked: 1 time
Joined: Oct 01, 2019 6:04 am
Full Name: Sandip Saha
Contact:

Re: unable to login api

Post by sandinetcom »

Hi Oleg,
Thanks For your time and support
I am new in REST I don't know how to use other client
but I am using Swagger UI it is connect with my username and password with generating Bearer <access_token>
Please help
sandinetcom
Enthusiast
Posts: 29
Liked: 1 time
Joined: Oct 01, 2019 6:04 am
Full Name: Sandip Saha
Contact:

Re: unable to login api

Post by sandinetcom »

Please help
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: unable to login api

Post by oleg.feoktistov »

Hi Sandip,

Could you please try to check it with Postman client? Here is the article, which might help you build login request in Postman. It can help to know whether your problem is with your credentials, swagger client or something else.
Also, what happens if you try to login through other browsers?

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests