Reset Admin Password

Product: PowerShell Universal
Version: 1.4.6

Hi! I’m setting up the configuration for the PowerShell Universal login. I understand that you can change the admin credential login details via the authentication.ps1 file. However, I’m wondering that in the case I accidentally lose or forget the admin user password, is there a way to reset it?

You can just set the authentication.ps1 script back to default.

How so? When I open up authentication.ps1 in VSCode, it’s blank. I suspect for security reasons?

Come to think of it, this might be a silly question, but what’s stopping somebody from connecting to my instance of PS Universal via VSCode and granting themselves an app token?

Authentication.ps1 is meant to be configured by you. As are roles.

Until you’ve configured the security, it is as wide open as the machine running it.

I strongly recommend taking a look at the docs:
https://docs.powershelluniversal.com/config/security