Thanks for the explanation.
I would very much like to see how can I bypass the unnecessary screen if the code is available somewhere.
Anyway, between this and Login to Discourse with custom Oauth2 provider answer, I think I have a clear path now. Feel free to continue asking @remy_dev if is not enough for you
Thanks again!