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

auto add mentors in google #287

Open
botanicvelious opened this issue Jul 11, 2019 · 3 comments

Comments

@botanicvelious
Copy link
Contributor

commented Jul 11, 2019

auto connect to google gsoc and invite a mentor when they make an account

@botanicvelious

This comment has been minimized.

Copy link
Contributor Author

commented Jul 23, 2019

Get org ID

https://summerofcode.withgoogle.com/api/om/program/current/membership/

{
  "results": [
    {
      "organization_id": 6017901476184064
    }
  ]
}

POST request

https://summerofcode.withgoogle.com/api/om/program/2019/organization/6017901476184064/invite/�
post�
Host: summerofcode.withgoogle.com�
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0�
Accept: application/json, text/plain, */*�
Accept-Language: en-US,en;q=0.5�
Accept-Encoding: gzip, deflate, br�
Referer: https://summerofcode.withgoogle.com/dashboard/org-admin/members/invite/�
X-CSRFToken: ...�
Content-Type: application/json;charset=utf-8�
X-Content-Type-Options: nosniff�
Content-Length: 46�
Connection: keep-alive�
Cookie: page-size=100; ...
TE: Trailers�
with a request body of {"email":"email@gmail.com","role":"2"}�
@ntkomata

This comment has been minimized.

Copy link
Contributor

commented Sep 14, 2019

Is this implemented?

@botanicvelious

This comment has been minimized.

Copy link
Contributor Author

commented Sep 14, 2019

Not as of yet, we started on it but ran out of time, as google login process is wonky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.