Skip to content

Conversation

@andyrzhao
Copy link
Contributor

@andyrzhao andyrzhao commented Apr 19, 2021

*Add support for Google Developers Console client_credentials.json as a TokenSource.
*Add support for JWT Subject (for domain-wide delegation when using service account as credentials source.)
*Add support for non-default AuthURL and TokenURL for authorized user credentials source.

To support this change, two new exported functions FindDefaultCredentialsWithParams and CredentialsFromJSONWithParams are introduced.

@google-cla google-cla bot added the cla: yes label Apr 19, 2021
@gopherbot
Copy link
Contributor

This PR (HEAD: debdcb4) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/311589 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Shin Fan:

Patch Set 1: Code-Review+1 Trust+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 1:

(7 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: 3a734b4) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/311589 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Andy Zhao:

Patch Set 2:

(8 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 2:

(4 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Andy Zhao:

Patch Set 2:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: eb92ab4) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/311589 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Andy Zhao:

Patch Set 3:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Cody Oss:

Patch Set 3: Run-TryBot+1 Code-Review+2 Trust+1

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 3:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 3: TryBot-Result+1

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/311589.
After addressing review feedback, remember to publish your drafts!

@andyrzhao andyrzhao changed the title google: Add support for TokenSourceParams, Client ID json, and JWT Subject google: Add support for CredentialsParams, Client ID json, and JWT Subject Apr 27, 2021
gopherbot pushed a commit that referenced this pull request Apr 27, 2021
…bject

*Add support for Google Developers Console client_credentials.json as a TokenSource.
*Add support for JWT Subject (for domain-wide delegation when using service account as credentials source.)
*Add support for non-default AuthURL and TokenURL for authorized user credentials source.

To support this change, two new exported functions FindDefaultCredentialsWithParams and CredentialsFromJSONWithParams are introduced.

Change-Id: Ib467822e2c14e02f8ae68586665c439960cfbd5c
GitHub-Last-Rev: eb92ab4
GitHub-Pull-Request: #490
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/311589
Reviewed-by: Shin Fan <shinfan@google.com>
Reviewed-by: Cody Oss <codyoss@google.com>
Trust: Shin Fan <shinfan@google.com>
Trust: Cody Oss <codyoss@google.com>
@gopherbot
Copy link
Contributor

This PR is being closed because golang.org/cl/311589 has been merged.

@gopherbot gopherbot closed this Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants