I know it so silly, but I just start learning Parse Server for a week. I'm creating a login function with the 3rd party Authentication. I read the docs here Keycloak authentication , but I don't know how can I get the data from the Keycloak server.
{
"keycloak": {
"access_token": "access token from keycloak JS client authentication",
"id": "the id retrieved from client authentication in Keycloak",
"roles": ["the roles retrieved from client authentication in Keycloak"],
"groups": ["the groups retrieved from client authentication in Keycloak"]
}
}
Besides, I'm working with JS SDK to create a login function in the Parse server and Keycloak, but I didn't know how Parse does the authorization via the Keycloak, I'm most grateful if someone can give me some example or some hint. Thank you.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…