Skip to content

Can't get Netlify auth to work #23

Closed Answered by zanhk
jerefrer asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jerefrer thanks for trying out astros.

I tried creating a brach feat/netlify and managed to make it work correctly with netlify, in the repo I also tried a new package so you should just take it as a reference and not clone from it. the backend configuration is that:

backend: {
					name: "git-gateway",
					repo: "zankhq/astros",
					branch: "feat/netlify",
					base_url: "https://dulcet-pothos-78fa4f.netlify.app",
},

change it accordingly to your infos (make sure to remove auth_endpoint: "/api/auth" as well (also make sure you are using the proper branch name master vs main).

then as you said I removed disableIdentityWidgetInjection: true,

In netlify then I did:

  1. enabled netlify i…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jerefrer
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants