hi, I’m wondering that I want to authenticate(make MMAUTHTOKEN and MMUSERID) without password, (I already saw “https://api.mattermost.com”)
for example, some site give some header cookie for me, this cookie like a username or user id…
so, i want to modify some source code like login process
this step is,
-
they give some cookie information for me, i want to intercept login request then, i want to redirect to sso, if header cookie is empty
-
so, that mean’s i need to modify source code like login source code
-
if header cookie is not empty, i want use cookie value(like username) to authenticate(make MMAUTHTOKEN and MMUSERID) for mattermost without password
so, is it possible?
if it’s possilbe…
i want to know that how to process it…
thanks