Skip to content

Passing and retrieving user role using LinkedIn Oauth2 #137

@kkotak

Description

@kkotak

Hi,
I've been using ultimate-seed for a few months now and still learning the intricacies. One challenge I've come across that has stumped me is how to create new users with different roles based on passing a query param at the time of login/register. I'm trying to do this in the application code instead of changing the 'ultimate' module's linkedin middleware code. In other words, when User.findOrCreateLinkedInUser() method is called, I'd like to access the role that was passed in originally as a query param from the client.

Any thoughts?

Thanks,

_K

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