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(auth): saves email_id when logged in with auth_token #288

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

pallabpain
Copy link
Member

Description

This commit fixes the issue where email_id of the user is not saved when rio auth login --auth-token TOKEN is invoked.

Wrike Ticket: https://www.wrike.com/open.htm?id=1329601684

Testing

→ rm -f ~/.config/rio-cli/config.json 

→ pipenv run python -m riocli auth login --auth-token X5PdoCZs9O0bAPbohdXiQVt32RUe2N6E81j1foT0 --project sga-sak-002 --organization warehouse --silent
ℹ️ Token belongs to user [email protected]
Your project has been set to 'sga-sak-002' in the organization 'warehouse'
✅ Logged in successfully!

→ pipenv run python -m riocli project whoami
admin

@pallabpain pallabpain requested review from a team as code owners March 25, 2024 10:09
@pallabpain pallabpain self-assigned this Mar 25, 2024
@pallabpain pallabpain added the 🐛 bug Something isn't working label Mar 25, 2024
Copy link

🤖 Pull Request Artifacts (#8418386988) 🎉

This commit fixes the issue where email_id of the user is not saved when
rio auth login --auth-token TOKEN is invoked.

Wrike Ticket: https://www.wrike.com/open.htm?id=1329601684
@pallabpain pallabpain force-pushed the fix/login-with-token branch from fe3159a to ceb038c Compare March 25, 2024 10:15
Copy link

🤖 Pull Request Artifacts (#8418460785) 🎉

@pallabpain pallabpain merged commit 5fb1bbe into devel Mar 25, 2024
6 checks passed
rr-github-ci-user pushed a commit that referenced this pull request Mar 25, 2024
## [7.3.1](v7.3.0...v7.3.1) (2024-03-25)

### Bug Fixes

* **auth:** saves email_id when logged in with auth_token ([#288](#288)) ([5fb1bbe](5fb1bbe))
* **docs:** updates sphinx version and other dependencies ([#290](#290)) ([c6a8116](c6a8116))
* **project:** sends org when fetching guid from name ([#287](#287)) ([6eb340b](6eb340b))
@rr-github-ci-user
Copy link
Collaborator

🎉 This PR is included in version 7.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

RomilShah pushed a commit that referenced this pull request Apr 23, 2024
This commit fixes the issue where email_id of the user is not saved when
rio auth login --auth-token TOKEN is invoked.

Wrike Ticket: https://www.wrike.com/open.htm?id=1329601684
@ankitrgadiya ankitrgadiya deleted the fix/login-with-token branch May 28, 2024 06:45
RomilShah pushed a commit that referenced this pull request May 30, 2024
This commit fixes the issue where email_id of the user is not saved when
rio auth login --auth-token TOKEN is invoked.

Wrike Ticket: https://www.wrike.com/open.htm?id=1329601684
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants