Comments (12)
Did you add your repositories to the config such as nikku/wuffle
or the like?
from wuffle.
Yes I have added a test repository to wuffle.config.js
. Is that the only place I need to add the repository?
I am connecting to an Enterprise repository. When I run npm run start
I get the following error
sync ] 09:26:14.602Z INFO wuffle:background-sync: syncing project
09:26:14.603Z INFO wuffle:org-auth: fetching auth (login=private-repo)
09:26:14.913Z ERROR wuffle:org-auth: (login=private-repo)
failed to authenticate HttpError: 'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued
at /Users/blah/repos/wuffle/packages/sync/node_modules/@octokit/request/lib/request.js:56:27
at processTicksAndRejections (internal/process/task_queues.js:89:5) {
name: 'HttpError',
status: 401,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, ' +
'X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, ' +
'X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, ' +
'X-GitHub-Media-Type',
connection: 'close',
'content-length': '164',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 29 May 2019 09:24:02 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
status: '401 Unauthorized',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-media-type': 'github.machine-man-preview; format=json',
'x-github-request-id': '[REDACTED]',
'x-xss-protection': '1; mode=block'
},
request: {
method: 'GET',
url: 'https://api.github.com/app/installations?per_page=100',
headers: {
accept: 'application/vnd.github.machine-man-preview+json',
'user-agent': 'octokit.js/16.25.0 Node.js/12.3.1 (macOS Sierra; x64)',
authorization: 'Bearer [REDACTED]'
},
request: { retryCount: 1 }
},
documentation_url: 'https://developer.github.com/v3'
}
09:26:14.913Z WARN wuffle:background-sync: (repositoryName=private-repo/test-app)
failed to synchronize open issues HttpError: 'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued
at /Users/blah/repos/wuffle/packages/sync/node_modules/@octokit/request/lib/request.js:56:27
at processTicksAndRejections (internal/process/task_queues.js:89:5) {
name: 'HttpError',
status: 401,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, ' +
'X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, ' +
'X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, ' +
'X-GitHub-Media-Type',
connection: 'close',
'content-length': '164',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 29 May 2019 09:24:02 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
status: '401 Unauthorized',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-media-type': 'github.machine-man-preview; format=json',
'x-github-request-id': '[REDACTED]',
'x-xss-protection': '1; mode=block'
},
request: {
method: 'GET',
url: 'https://api.github.com/app/installations?per_page=100',
headers: {
accept: 'application/vnd.github.machine-man-preview+json',
'user-agent': 'octokit.js/16.25.0 Node.js/12.3.1 (macOS Sierra; x64)',
authorization: 'Bearer [REDACTED]'
},
request: { retryCount: 1 }
},
documentation_url: 'https://developer.github.com/v3'
}
from wuffle.
What do you refer to as an enterprise repository?
from wuffle.
Did you install the bot with that repository?
from wuffle.
I have :
- downloaded the wuffle repo
- ran the
npm install
andnpm run dev
steps - added the
"homepage": "https://github.com/nikku/wuffle.git",
to thepackages/sync/package.json
- Created the githubApp
- linked it to a single repo on an organization github
- created a
tmp/storedump.json
andwuffle.config.js
- this is just running locally
Did I miss a step in the setup?
from wuffle.
Did you install the bot with that repository?
You must give the bot access permissions to the repository or background synchronization won't work.
Go to https://github.com/apps/your-app-name and authenticate the bot accordingly.
from wuffle.
I am not getting that as an option as my organisation has SSO enabled on our repositories but I can't see how to enable that for the app
I was able to get the board working for a public repo in our organisation and authorise it so I think the SSO may be blocking me
from wuffle.
I encourage you to try out whether it works on your own private repository.
I am not getting that as an option as my organisation has SSO enabled on our repositories but I can't see how to enable that for the app
With regards to SSO, could you point me to some documentation on GitHub that allows me to understand how that is configured? Do you guys use GitHub enterprise or GitHub.com?
from wuffle.
It does work on my own private repository as I have successfully set that up as well.
We are using Github Enterprise
Here is the github page about SSO
from wuffle.
Thanks for the clarification.
Can you verify the following things work:
- Logging in as a user
- New card created pops up on the board
- Moving the card cards on the board
- Card changes extenally (label added) updates the card on the board
As you posted, the following does not work:
- Authenticating the app against GitHub (cf. implementation) when performing a background sync
This may be due to the fact that the app has not been given access to that private GitHub repository.
from wuffle.
Signed into github, I can :
- connect to a personal private repo and move cards, add label etc using wuffle-app1
- connect to an open source repo within my organisation using wuffle-app2
Signed into github, I cannot :
- connect to a private repo within my organisation using wuffle-app2
I have added the repo to the app but I cannot add the app to the private organisation repo
from wuffle.
Hey.
I updated with the latest code changes and created a new app.
This worked perfectly first time so the issue can be closed
from wuffle.
Related Issues (20)
- Cards not displayed on wuffle pod restart until next background sync HOT 7
- Moving a draft PR to review column should mark it as ready for review
- Filter `reviewer` displays PRs where mentioned person is the author HOT 4
- Support GitHub style task breakdowns to create epics
- Add a filter that shows all cards I work on (issues + PRs) HOT 1
- Improve developer getting started experience HOT 6
- Comments in task lists are treated as dependent issues
- Add keyboard / mouse shortcuts quick documentation
- Card task list hides completed items HOT 1
- Self referencing dependency created on issue comment link
- Indicate missing required event subscriptions and missing required permission HOT 3
- It's not possible to configure the BASE_URL for a domain starting with board HOT 1
- Board fails to load after login (refresh required) HOT 1
- Cannot find module 'hbs' HOT 2
- Clicking on a filter suggestion does not select it HOT 1
- Support repository transfer
- Support issue transfer
- Issue transferred to different repository is not being cleaned up
- Synchronize issue comments
- Add <mentions:someuser> filter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wuffle.