PHP Login

Added by Per G over 8 years ago

I am trying to implement the login code.
But I receive the following status: HTTP/1.1 401 Authorization Required
and in the JSON body: {"error":"Failed to verify user credentials"}

I am using the same username/password as when I'm login on https://api.test.nordnet.se/

I am implementing this in PHP and there are no example of login code for PHP. I have looked at the existing examples and tried to follow these examples as far as possible.

What does the JSON error message "Failed to verify user credentials" indicate?
Does this indicate that your server can decrypt the message and that the username/password is wrong?
Or could there be other problems in my message?


Replies (21)

RE: PHP Login - Added by Nordnet Simon over 8 years ago

Hi, sorry for the late reply. I looked in the logs and the username seems to be correct. We don't log password so I can't tell if it is the correct. But since username is correct it looks like it is the password. The encryption looks ok.
I don't know if the log entries was from your PHP or Ruby tries.

Have you changed your password here at https://api.test.nordnet.se/? The password change does not affect the testsystem so if you have changed your password here the password is still the old in the testsystem.

RE: PHP Login - Added by Per G over 8 years ago

Probably wrong password then..
How do I reset or change my password on the test system?

RE: PHP Login - Added by Nordnet Simon over 8 years ago

Hi, when the password is changed in the wiki it should be changed in the testsystem also. This is a bug. We are working on a solution.

RE: PHP Login - Added by Henning over 8 years ago

Hello Per

If you haven't figured out to log in using PHP, then take a look at my post: [[https://api.test.nordnet.se/boards/2/topics/283]]

https://royalcbd.com/washington-state/ - Added by website about 1 month ago

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained!https://royalcbd.com/washington-state/

RE: PHP Login - Added by website about 1 month ago

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.The Florence Residences Showflat

RE: PHP Login - Added by website about 1 month ago

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers!the best DJ laptop stands

RE: PHP Login - Added by website about 1 month ago

I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks...먹튀

Stall design - Added by website about 1 month ago

This was a shocking post. It has some look at here fundamental data on this subject. Stall design

Bigg Boss Voting - Added by website 25 days ago

Extremely intriguing online journal. A lot of web journals I see nowadays don't generally give anything that I'm keen on, however I'm most definitely inspired by this one. Recently felt that I would post and let you know. Bigg Boss Voting

RE: PHP Login - Added by website 25 days ago

Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive!Buy office 2019 key

RE: PHP Login - Added by website 22 days ago

Book An Appointment to view Van Holland ShowFlat & get VVIP Discounts (Limited Time), Direct Developer Price, & Hardcopy E-Brochure. Guaranteed with ...van Holland price

valentines week 2021 - Added by website 11 days ago

Extremely pleasant article, I appreciated perusing your post, exceptionally decent share, I need to twit this to my adherents. Much appreciated!. valentines week 2021

RE: PHP Login - Added by website 11 days ago

The true trouble you ave this is certainly obtainable for every Online based casinos to help you make use of먹튀

BBQ and Hog Roast buffet catering Bath - Added by website 10 days ago

Your article is extremely helpful exceptionally fascinating subject i am looking that sort of post thank for imparting to us keep it up. BBQ and Hog Roast buffet catering Bath

RE: PHP Login - Added by website 9 days ago

When you're a newcomer to gambling--and one haven't so much though particular an important "favorite" game--it's best if you pick out a powerful web based modern casino that gives a major number.먹튀검증

토토 - Added by website 7 days ago

Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. 토토

RE: PHP Login - Added by website 6 days ago

I think that thanks for the valuabe information and insights you have so provided here.먹튀검증

RE: PHP Login - Added by website 6 days ago

I found your this post while searching for some related information on blog search...Its a good post..keep posting and update the information.retro style

RE: PHP Login - Added by website about 16 hours ago

Thank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read.토토사이트

best budget jogging stroller - Added by website about 10 hours ago

Man's lives, such as uncontrolled huge amounts, definitely not while countries furthermore reefs, challenging to seismic disturbance upward perfect apply.best budget jogging stroller

(1-21/21)