Add new pages to the examples covering the Auth procedure#7
Open
Kajetan-Narkiewicz-Planview wants to merge 1 commit intomainfrom
Open
Add new pages to the examples covering the Auth procedure#7Kajetan-Narkiewicz-Planview wants to merge 1 commit intomainfrom
Kajetan-Narkiewicz-Planview wants to merge 1 commit intomainfrom
Conversation
166f25c to
9f03edd
Compare
Copilot started reviewing on behalf of
Kajetan-Narkiewicz-Planview
March 12, 2026 10:08
View session
There was a problem hiding this comment.
Pull request overview
Adds new authentication-focused example pages/scripts to the examples/ area to help developers choose and implement the right ProjectPlace auth flow (OAuth2 Auth Code, OAuth2 Client Credentials, and legacy OAuth1), plus updates the examples index/docs to highlight them.
Changes:
- Adds new Python example directories for OAuth2 Authorization Code, OAuth2 Client Credentials, and OAuth1 flows (each with script, README, requirements).
- Adds
examples/AUTH_README.mdas an authentication decision guide and updatesexamples/readme.mdto index auth examples. - Adds an
examples/.gitignorefor common local Python artifacts and credential files.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/readme.md | Adds an authentication “getting started” section and indexes auth examples. |
| examples/AUTH_README.md | Adds an auth method decision guide, comparison table, and best practices. |
| examples/.gitignore | Adds ignore patterns for venvs, IDE files, and local credential files. |
| examples/py-oauth2-authorization-code/requirements.txt | Adds Python dependency list for the auth-code example. |
| examples/py-oauth2-authorization-code/readme.md | Documents the OAuth2 auth-code example usage and concepts. |
| examples/py-oauth2-authorization-code/oauth2_authorization_code.py | Implements an interactive local-callback OAuth2 auth-code flow demo. |
| examples/py-oauth2-client-credentials/requirements.txt | Adds Python dependency list for the client-credentials example. |
| examples/py-oauth2-client-credentials/readme.md | Documents the OAuth2 client-credentials example usage and concepts. |
| examples/py-oauth2-client-credentials/oauth2_client_credentials.py | Implements client-credentials flow plus a reusable helper class. |
| examples/py-oauth1/requirements.txt | Adds Python dependencies for the OAuth1 example. |
| examples/py-oauth1/readme.md | Documents the legacy OAuth1 example and migration guidance. |
| examples/py-oauth1/oauth1_flow.py | Implements a 3-legged OAuth1 flow demo. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
examples/py-oauth2-authorization-code/oauth2_authorization_code.py
Outdated
Show resolved
Hide resolved
examples/py-oauth2-authorization-code/oauth2_authorization_code.py
Outdated
Show resolved
Hide resolved
examples/py-oauth2-client-credentials/oauth2_client_credentials.py
Outdated
Show resolved
Hide resolved
examples/py-oauth2-client-credentials/oauth2_client_credentials.py
Outdated
Show resolved
Hide resolved
examples/py-oauth2-client-credentials/oauth2_client_credentials.py
Outdated
Show resolved
Hide resolved
- Add OAuth2 Authorization Code Flow example (py-oauth2-authorization-code/) - Complete flow with local callback server for OAuth redirect - Token refresh demonstration - Production-ready patterns with error handling - Add OAuth2 Client Credentials Flow example (py-oauth2-client-credentials/) - Robot/service account authentication - Reusable OAuth2ClientCredentials class with automatic token management - Multiple authentication method examples (Basic Auth, body params) - Add OAuth1 example (py-oauth1/) - Legacy authentication support - Complete 3-legged OAuth1 flow - Migration guidance to OAuth2 - Add AUTH_README.md with: - Decision guide for choosing authentication method - Quick comparison table - Security best practices - Troubleshooting guide - Update main readme.md with authentication section and example index Each example includes Python script, README with usage instructions, and requirements.txt for dependencies. https://planview.projectplace.com/#direct/card/26044157
9f03edd to
3b9873c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.