openfaas / faas-cli

Official CLI for OpenFaaS
https://www.openfaas.com/
Other
798 stars 224 forks source link

Add options field to auth section in config file #964

Closed welteki closed 1 year ago

welteki commented 1 year ago

Description

Add on options field to the auth config. This is required by the Pro plugin to persist the settings for different oauth2 login flows.

Motivation and Context

Enable the Pro plugin to persist the settings for different oauth2 login flows.

How Has This Been Tested?

Verified the faas-cli login command is working as expected after this change.

Screenshot 2023-05-17 at 15 22 58

Types of changes

Checklist: