Notifications
Clear all

Prusa link quesiton - API key  

  RSS
Jamie Loft
(@jamie-loft)
New Member
Prusa link quesiton - API key

my printer is asking for the API key each time I log in - is there a way to disable this?  I just want to have access not have to type in random letters and numbers each time.  Its all on a private VLAN on the network so security isn't an issue.  I have almost given up and just started moving the USB key between the computer and printer

Opublikowany : 09/01/2023 9:12 am
Marcel V polubić
FoxRun3D
(@foxrun3d)
Famed Member
RE: Prusa link quesiton - API key

There's at least one open ticket on Github. Devs say it will be fixed in the next release. It's SUPER annoying.

Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...

Opublikowany : 09/01/2023 12:41 pm
gb160
(@gb160)
New Member
RE: Prusa link quesiton - API key

Did this get fixed in v4.4.1 ?

There's no mention in the changeling.

Opublikowany : 19/01/2023 9:28 am
gb160
(@gb160)
New Member
RE: Prusa link quesiton - API key

Doesn't appear fixed in v4.4.1 which is disappointing....I'm still being repeatedly prompted for the api key.

Using latest Safari on latest macOS.

Opublikowany : 19/01/2023 11:14 am
FoxRun3D
(@foxrun3d)
Famed Member
RE: Prusa link quesiton - API key

No, it didn't get fixed ☹️ ☹️☹️

Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...

Opublikowany : 19/01/2023 12:08 pm
Georg
(@georg-2)
Estimable Member
RE: Prusa link quesiton - API key

Is it possible to add the API key as parameter in der URL? 

Opublikowany : 23/03/2023 11:40 am
jseyfert3
(@jseyfert3)
Reputable Member
RE: Prusa link quesiton - API key
Posted by: @jamie-loft

I have almost given up and just started moving the USB key between the computer and printer

Do you use PrusaSlicer? You can link your printer directly in PrusaSlicer, and after you slice you can upload from PrusaSlicer to your printer, without using PrusaLink. You can either upload, or upload & print. PrusaSlicer remembers the API.

However, you can only upload, you can't view storage or printer status through PrusaSlicer. Still, it avoid needing to move the USB drive back and forth.

Opublikowany : 23/03/2023 3:09 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: Prusa link quesiton - API key

https://github.com/prusa3d/Prusa-Link-Web/issues/222

Apparently still not resolved in 4.5.0.

wbr,

Karl

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Opublikowany : 23/03/2023 5:53 pm
Darren
(@darren-4)
Active Member
RE:

Late to the party here, but just as a general piece of advice for people building a simple system like this...

Don't make it an input prompt. Don't make it a password field. Don't use javascript. Instead, use "basic authentication" which has been in browsers since before images or URL arguments were. Every browser will save this for you, every web server will implement this for you without effort, and it's just as secure as a clear-text password.

This post was modified 1 year temu by Darren
Opublikowany : 23/08/2023 9:27 pm
Marcel V polubić
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: Prusa link quesiton - API key

Printer checks specific header X-Api-Key in the requests and just passes it furher.

In chrome it is saved on the first request and is used until browser is closed

See my GitHub and printables.com for some 3d stuff that you may like.

Opublikowany : 24/08/2023 8:18 am
Jens Kufver
(@jens-kufver)
Member
RE: Prusa link quesiton - API key

Yes very annoying.

As a work around I have created the browser bookmark like: http://192.168.1.50/?api_key_here

Then it´s a simple copy (key part in url) and paste to enter the key in to the field 

Opublikowany : 22/09/2023 6:17 am
Marcel V polubić
Marcel V
(@marcel-v)
Member
RE: Prusa link quesiton - API key

Thanks for this tip, I did the same now so I never have to loop up that API key

Opublikowany : 12/12/2023 11:41 am
Share: