Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(azureOauth2): fixed oauth2 auth for azure custom config support #305

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gsapkal
Copy link

@gsapkal gsapkal commented Sep 10, 2020

Updated the oauth2 to work with azure oauth2 custom config, Added support for AuthCodeOptions options in config.
Updated the auth workflow to open default browser with auth url. No need to copy past url and code from oauth2 redirect response.
If the default browser doesn't work this fallbacks to printing url on console with instruction.

Ganesh Sapkal added 2 commits September 10, 2020 15:01
Updated the oauth2 to work with azure oauth2 custom config, Added support for AuthCodeOptions options in config.
Updated the auth workflow to open default browser with auth url.  No need to copy past url and code from oauth2 redirect response.
If the default browser doesn't work this fallbacks to printing url on console with instruction.
@ElenaForester
Copy link

Hi! When this PR will be merged? Looking forward for it!

@Chinikins
Copy link
Contributor

Hi, is there a linked bug that would describe the behavior you're fixing? Does your config file still look like for what we have for example oauth: https://github.com/spinnaker/spin/blob/master/config/example.yaml#L25? I don't have experience with spin CLI and authenticating to azure so a little more context could help the review process, thanks!

@gsapkal
Copy link
Author

gsapkal commented Dec 15, 2020

Hi, is there a linked bug that would describe the behavior you're fixing? Does your config file still look like for what we have for example oauth: https://github.com/spinnaker/spin/blob/master/config/example.yaml#L25? I don't have experience with spin CLI and authenticating to azure so a little more context could help the review process, thanks!

@Chinikins I have updated example config. This PR enables the advanced config for Oauth2. These are needed based on organizations oauth2 config.

@Chinikins
Copy link
Contributor

@gsapkal could you please resolve conflicts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants