I am trying to merge two authentication methods -- Basic and Windows IIS Auth but when i try I get the error:
Authentication method does not exist for merging: authForGet.
You cannot call a method on a null-valued expression
I tried merging with a different Windows Auth I have called 'auth' but then I get the following error:
Authentication method does not exist for merging: BasicAuth.
You cannot call a method on a null-valued expression
Is merging Windows Auth and Basic Auth not supported?
I am trying to merge two authentication methods -- Basic and Windows IIS Auth but when i try I get the error: Authentication method does not exist for merging: authForGet. You cannot call a method on a null-valued expression
I tried merging with a different Windows Auth I have called 'auth' but then I get the following error: Authentication method does not exist for merging: BasicAuth. You cannot call a method on a null-valued expression
Is merging Windows Auth and Basic Auth not supported?
Add-PodeAuthIIS -Name 'authForGet' -Sessionless -ScriptBlock { param($creds) return @{ User = $creds } }
New-PodeAuthScheme -Basic | Add-PodeAuth -Name 'BasicAuth' -Sessionless -ScriptBlock { param($creds) return @{ User = $creds } }
Merge-PodeAuth -Name MergedAuth -Authentication 'authForGet', 'BasicAuth' -Valid One