Re: New Djangae Scaffold Google Auth

57 views
Skip to first unread message

Luke Benstead

unread,
Aug 8, 2022, 10:14:56 AM8/8/22
to Vikas Chauhan, djangae-users
Hi!

You'll need to use either the IAP or OAuth authentication backends for this to work - both of which require some configuration in the Google Cloud dashboard. If you want your whole site to be authenticated then look into enabling IAP for it, otherwise if you want to just lock down part of your site you'll need to look into the OAuth backend.

Google recently restored the old App Engine users API to Python 3 but I haven't had time to look at reimplementing that for authentication.

On Mon, 8 Aug 2022 at 13:46, Vikas Chauhan <chauhan...@gmail.com> wrote:
Hi Team 

I am working on a demo app that will auto login google user and create new account in Django admin panel I am using Djangae Scaffold  , I want to use google auth for this or any other possible ways available.. 

I have mentiond AUTH_USER_MODEL = 'googleauth.User'

but not able to figureout why the auto login is not happening 

--
You received this message because you are subscribed to the Google Groups "djangae-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to djangae-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/djangae-users/e5735ad1-58b3-4990-9f5f-bff52816c120n%40googlegroups.com.


--

--
Luke Benstead - Tech Director
p.ota.to - Interested in working with us? We're hiring!

The UK's top 100 best small companies to work for Very Good to work for 2021 Mayors Good Work Standard

Potato London Limited a company registered in England and Wales with company number 07178897 at 18 Upper Ground Sea Containers, London, England, SE1 9GL VAT Reg No GB988351763. This e-mail communication, including any attachment, is intended only for the individual(s) or entity named above and to others who have been specifically authorised to receive it. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Potato London Limited shall be understood as neither given nor endorsed by it.

Vikas Chauhan

unread,
Aug 8, 2022, 10:20:27 AM8/8/22
to djangae-users
what configuration i have to do for Google auth can you please provide me the direction for this 
do i need to enable any settings in Google app engine ?

Vikas Chauhan

unread,
Aug 8, 2022, 11:02:08 AM8/8/22
to djangae-users
I just want to authenticate the user and bypass the Django default login screen, one more thing is there any equivalent of DJANGAE_FORCE_USER_PRE_CREATION option in the new scaffold?

Vikas Chauhan

unread,
Aug 12, 2022, 11:40:16 AM8/12/22
to djangae-users
Hi  Luke Benstead

please share the details regarding GCP configuration whenever you get time to look into this issue
Reply all
Reply to author
Forward
0 new messages