Hello,
Looking at pow_assent documentation and source code, it's not clear to me what is the objective of the session_params config, why it is stored in the connection, etc.
I'm using the google strategy with the API guide, but if, for example, I change the returned session_params for something else before calling the callback endpoint, I still receive the access_token and renew_token without any issue and everything seems to work ok.
This makes me wonder what is the real objective behind creating and store this value if it doesn´t seem to be verified or used anywhere (at least I didn't found any place looking at the code).
Maybe this is something only relevant when using it with web applications instead of mobile ones (where I only access the backend via my API)? If that is the case, is it safe to ignore it entirely?
Hello,
Looking at
pow_assentdocumentation and source code, it's not clear to me what is the objective of thesession_paramsconfig, why it is stored in the connection, etc.I'm using the
googlestrategy with the API guide, but if, for example, I change the returnedsession_paramsfor something else before calling thecallbackendpoint, I still receive theaccess_tokenandrenew_tokenwithout any issue and everything seems to work ok.This makes me wonder what is the real objective behind creating and store this value if it doesn´t seem to be verified or used anywhere (at least I didn't found any place looking at the code).
Maybe this is something only relevant when using it with web applications instead of mobile ones (where I only access the backend via my API)? If that is the case, is it safe to ignore it entirely?