Netlify Identity and role based redirects woes

Hey thanks for stopping by @hrishikesh

What you say actually makes sense to me

but what I don’t understand is:

  • why does it works (apparently) with the previous .toml file ? I have seen a few inconsistencies on my end but an inaccessible login page has not been one of them.
  • how can the redirects described in this Netlify tutorial work ? Seems to me it has the same flaw you described above (from URL from the second redirect is also targeted by the first one).

Will try your solution and see if I get more consistent results on my end.

I am also trying to create a function to assign a role to a user logging in using Google. I found an example here but no luck so far.

I have read in the docs that identity-signup does not trigger what social login. Should I use identity-login or identity-validate and does it work the same way ?

Sorry for my barrage of questions … and thanks again for chiming in.