Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Write a procedure about setting up HubPress in an Organisation repo #446

Open
ghanIn-dev opened this issue Oct 9, 2016 · 6 comments
Open

Comments

@ghanIn-dev
Copy link

I use github host and github id , password what' wrong??

@anthonny
Copy link
Member

anthonny commented Oct 9, 2016

Hi @Ghanin,

You have a typo in your config.json file:

{
  "meta": {
    "username": "ghaIn",
    "repositoryName": "ghanIn.github.io",
    "branch": "master"
  },
  "theme": {
    "name": "Casper"
  }
}

The username must be ghanIn, not ghaIn

@michaltrzesimiech
Copy link

Hi there,

I wonder if you can help me out, please. I'm not being let through despite having my config.json file looking alright:

{
  "meta": {
    "username": "michaltrzesimiech",
    "repositoryName": "orkiestraracjonalna.github.io",
    "branch": "master"
  },
  "theme": {
    "name": "Casper"
  }
}

Scenarios I've tried so far:

  • Tried to delete the repository and set it back up from scratch
  • Tried with my GitHub username and password (>26 characters long)
  • Tried with my GitHub username and new password (8 characters)
  • Tried with my e-mail address and current password

Result: Password field gets underlined red, but otherwise no change

  • Tried with enabled two-key authentication
    Result: Password field gets underlined red, field "Two factor code" appears, an SMS message comes in
  • Entered the code, clicked "LOG IN".
    Result: A message slides in: "A two-factor payload code is needed."

@anthonny
Copy link
Member

Hi @michaltrzesimiech,

You must set the username with the name of the owner of the repository, here orkiestraracjonalna:

{
  "meta": {
    "username": "orkiestraracjonalna",
    "repositoryName": "orkiestraracjonalna.github.io",
    "branch": "master"
  },
  "theme": {
    "name": "Casper"
  }
}

@michaltrzesimiech
Copy link

michaltrzesimiech commented Oct 28, 2016

Hi @anthonny. Thanks for helping me out. I've actually tried that approach too, but then orkiestraracjonalna is an organization. Since with

{
  "meta": {
    "username": "orkiestraracjonalna",
    "repositoryName": "orkiestraracjonalna.github.io",
    "branch": "master"
  },
  "theme": {
    "name": "Casper"
  }
}

I can't log in as organization orkiestraracjonalna* nor as user michaltrzesimiech, would that mean I won't get authorization unless and until I host my blog as michaltrzesimiech [user, not organization]?

@anthonny
Copy link
Member

in the repository orkiestraracjonalna.github.io you must add you account michaltrzesimiech as collaborator (in the settings of the repository) with write authorization

@michaltrzesimiech
Copy link

Of course! I forgot about that. Thanks @anthonny!

@jaredmorgs jaredmorgs reopened this Mar 1, 2017
@jaredmorgs jaredmorgs changed the title Can't log in Write a procedure about setting up HubPress in an Organisation repo Mar 1, 2017
@jaredmorgs jaredmorgs added this to the Release 9 milestone Mar 13, 2017
@jaredmorgs jaredmorgs self-assigned this Mar 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants