Skip to content

Request for Custom Session Endpoint Support in nuxt-auth-utils #389

@victorfds

Description

@victorfds

I am currently working on a use case where I need to customise the endpoint used for fetching the session. The default endpoint (/api/_auth/session) does not meet my requirements, and I would like to change it to a custom endpoint, such as /custom-api/_auth/session.

For context, I am using Client-Side Rendering (CSR) and a proxy intercepts all requests to the /api path and redirects them to the appropriate backend, logging in doesn't work in this case. After checking carefully, it appears that the module currently does not offer the flexibility to support this customization.

Allowing the configuration of a custom session endpoint would greatly enhance the versatility of the module, making it more adaptable to various backend setups or API configurations.

Would it be possible to introduce an option within the module to specify a custom session endpoint?

Thank you for considering this request. Please do not hesitate to contact me should you require any further details or if I can assist with testing or implementation.

Kind regards,
Victor Ferreira da Silva

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions