You can use At least ... folder, for example,
-- At least ... folder
\- require basic authentication
\- require oauth 2.0 token
This will try basic authentication first, if basic auth fail, then try oauth.
Regards,
Mark
Original Message:
Sent: 05-15-2020 04:55 PM
From: Alejandro Calbazana
Subject: Supporting Multiple Auth Schemes for an API
Hello,
Does anyone have a strategy for supporting multiple authentication/authorization schemes for an API? For example, if I needed to support both OAuth and Basic Auth.
Thanks,
Alejandro