If you have changed your login method, (eg, going from signing in with one OAuth method to signing in with another), you may find that you don't have access to your old Orgs and projects anymore.
Every login method to Snyk is counted as a different user. See Authentication
When you first log in with the second method, it will create a new account (a new Org can be created as a result, and even if you give it the same name as the old Org, it will have a different ID/url, and access permissions, settings, etc)
Because of this, you won't see any of your old data with the new login method, as your prior Orgs, projects, tests and accounts were assigned to your prior login method.
Where possible we always recommend self-service of account related activities.
In most cases you should be able to resolve this yourself with one of the following methods.
If you are not an Org Admin on the original account, you will need to ask an Org Admin to assist you.
Caching and auto login functionality can cause difficulties with these processes. If you are having issues, please turn these off or use incognito mode.
1: Request Access to the Org
Depending on the settings for the Org, and the existence of any other Org Admins, you may be able to request access to the Org.
When request access is enabled for an organization and a non-member reaches a valid URL for a project or status check result, the user can request access.
- Login to your new Snyk account
- In the browser's address bar, paste a valid project URL for the Snyk Org you need access to, eg from a weekly report email sent to your original login method.
- Request access approval.
2: Another Admin invites your new user
If there is another Org Admin associated with the original Org, they may be able to invite your new user's email address to the Org. This is generally only possible if the email addresses are different.
When you receive the invitation email, ensure that you are logged into Snyk via the new login method before accepting the invitation.
3: Log in as the old user and invite your new user to the Org
Use this method if you have changed OAuth login method or SCM account details (eg created a secondary account in your SCM that is used for OAuth) - as long as you still have access to the account you originally logged in from.
- Log out of Snyk
- Login to Snyk with the appropriate OAuth method for the old account.
- Confirm the Org/s that you have access to are those that you want to be available under the new login account.
- Go to Org members, invite your new email address as an
Org Adminmember -https://docs.snyk.io/features/user-and-group-management/managing-users-and-permissions/manage-users-in-your-organizations#add-members
- Invite any other required users to the Org/s with relevant Org access levels.
- Log out of Snyk
- Accept invite, and login via new method
- Confirm access to required Org/s
- Log back out of Snyk
- Log in with your original OAuth login method again,
- Go to User account settings https://app.snyk.io/account and delete your account. (before doing this please do ensure that it is the correct account).
Please note that any Org/s where this user is the last remaining user will be deleted permanently with the above step.
If you're an administrator on a shared organization, you'll need to appoint another administrator prior to leaving Snyk.
What if this does not work?
If you no longer have any access to the original login method (eg, you have permanently deleted the older account on your SCM which was used for OAuth), and there are no other Org Admins that can invite your new account to the older Org, then you will need to contact email@example.com with the details.
For privacy/confirmation reasons, Snyk support staff will require the details of the Org (OrgID where possible) as well as email address associated with each of the login methods.