# FAQ
# Grant access to organization
After Sync account
you should see all workspaces of your account. If Sun* CI does not show any workspace that mean Sun* CI does not have access to your organization. You need to go OAuth application settings and give access of your organization to Sun* CI. After that you need to comeback Sun* CI and Sync account
again.
# SSO issue
- Organization uses SSO, repository enabled CI but there's no build when creating new commit?
This error occurs when your token is blocked by SSO, you need to re-authenticate your SSO and try again.
- Go to
https://github.com/orgs/<your-organization>/sso
to authenticate. - Get back to Sun* CI and log out.
- Log back in and
Sync account
if necessary.
- Organization uses SSO, I sync the account but repository doesn't show up at Sun* CI?
Because your organization enable SSO, old OAuth tokens are not safelisted for use, so the owner who enable CI need to re-create them after enabling SSO with the following steps:
- Log into the affected organization on GitHub using SSO.
- Go to OAuth application settings
- Select the Sun* CI token and revoke it.
- Go to Sun* CI and log out if necessary.
- Log back in -which should prompt you to grant authorization- and make sure Sun* CI is authorized to access the organization.
After having done all the steps above then Sync account
so Sun* CI will show your repositories.
# Repository has invalid token, what happens to my repository?
Repository has invalid token, you need to contact ___ to refresh token
Invalid repository has cases:
- Repository's owner who enabled CI is no longer collaborators.
- The organization uses SSO and repository owner doesn't validate github's SAML for 24 hours so this token has expired
So what do i need to do?
In case Repository's owner who enabled CI is no longer collaborators, you need to contact the user who is the admin of the repository to re-enable CI.
You re-enable CI by following steps:
- Use the repository's admin account and was login CI.
- Go to
https://ci.sun-asterisk.com/account/<your-scm>/repositories
(your-scm
can begithub
,gitlab
,...) to re-enabled. - Disable and enable CI for a repository with an invalid token.
Now, CI will use the new token that the admin of the repository has re-enabled CI
In case the organizion uses SSO.
If the organization uses SSO, you need to re-authenticate your SSO and try again, you can follow the steps here