Buy this Domain

Community Discussions

Explore the latest discussions and community conversations related to this domain.

Did you get sufficient grant writing experience during your social science PhD?

Main Post:

A recent post here asked how much people make from research grants. To be frank, I'm near the end of my PhD, and I didn't even know that research grants included summer salaries at all. No one had told me this in my program nor have I had the opportunity to be involved in writing any large research grants (I've done a couple very small grants for my own research where I can't even include food in the budget when I travel to collect data). Is it the norm for those in social sciences to basically have no familiarity with writing large grants by the time their PhD is over?

Top Comment:

I got my PhD at an R1, and I’m an Asst Prof at an R1 now. Grant writing was the biggest training gap. I had excellent training in research (quantitative and qualitative), teaching, and writing for publication. But grant funding, mechanisms, and writing is mostly self taught. It took me two years to learn how NIH and other federal funding works. What’s worked for me so far is finding a mentor with a history of successful funding and asking as many questions as I can, as well as asking for examples of successfully funded grant proposals. Good luck!

Forum: r/academia

Federal government to grant VA and Social Security 2.5% COLA increase

Main Post:

So nalc members, if you needed more reason to vote no? Federal government officially recognizes inflation is 2.5%, 1.3% doesn't cut it.

Top Comment:

Yes and that should be criminal! All these retirees are getting shafted!

Forum: r/USPS

Grant-writing?

Main Post:

Is there a niche of social work for grant writing? Like for nonprofits? If so, how do those jobs work?

Top Comment:

Absolutely, yes. Had a class that focused exclusively on this and a professor whose whole career was on this. Not my cup of tea, but someone has to do it!

PM me if you want to know more!

Forum: r/socialwork

Google OAuth2 with DRF social oauth2 library

Main Post:

I'm trying to integrate Google OAuth2.0 with django-rest-framework-social oauth2. I've had success with the Facebook example, yet Google is returning 400 with {"error":"access_denied","error_description":"Your credentials aren't allowed"} , much like this and this github issue. The first link actually ends with a petition to follow the drf-social-oauth2 fork. Both library versions test the google integration with the same command

curl -X POST -d "grant_type=convert_token&client_id=<django-oauth-generated-client_id>&client_secret=<django-oauth-generated-client_secret>&backend=google-oauth2&token=<google_token>" http://localhost:8000/auth/convert-token

so before I switch over to the fork, the 400 status code gives me hope the potential error could be due to the construction of this curl post. However, perhaps its due to how I set up the application in Django Admin.

As mentioned, the Facebook example worked fine setting up the Application in Django Admin the way the library recommends, that is, with redirect_uris left blank and authorization_grant_type set to 'Resource owner password-based'. Of course, the client id and secret were taken from https://developers.facebook.com/. I assume the Google example would be set up equally, but when you try to get the access token in the https://developers.google.com/oauthplayground, I notice an authorization code step. This strikes me as different from the FB example, since the FB console doesn't mention an authorization code. However, maybe I missed it or the step is just abstracted away because reading this recommended Toptal article it seems OAuth2 usually does involve this authorization code step.

So my first question is: where is this step in the FB example? How come that application was set up in Django Admin as 'Resource owner password-based' and not 'Authorization code'?

In any case, should I be setting up the Google application in Django Admin as 'Authorization code'? I'm noticing the above curl post refers to a convert-token step. This to me implies that you already have gone through the authorization code step and now have the access token. But keeping the Google application as 'Resource owner password-based' and running the above curl post with the access token I've manually gotten from the ouathplayground returns the same error. Yet switching it over to 'Authorization code', adding a redirect uri (http://localhost.com:8000?), and using the auth code as the token parameter also gives me a 400.

It's clear that I'm a bit confused about the OAuth2 steps or maybe on the differences between FB and Google, but if I can get this stuff clarified, I can then see if the issue is with the library and try with the fork.

Any help is appreciated, thanks!

Top Comment:

Any update on this? I am just about to implement social login using this framework, and came across this post. I found the documentation for drf-social-oauth2 lacking in that it didn't mention anything about using other grant types outside of resource owner password-based, which I suspect is the issue you're having. How is your application set up in django admin?

Forum: r/django