Skip to content

Purpose of session_params foi APIs #210

@sezaru

Description

@sezaru

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions