Skip to content

Attaching Access Token in other requests #34

Answered by Gokul595
egimenos asked this question in Q&A
Discussion options

You must be logged in to vote

@egimenos Try passing the 2nd argument to the method create_token_and_set_header as 'user' instead of User, it should work.

E.g. create_token_and_set_header(current_user, 'user')

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@egimenos
Comment options

Answer selected by egimenos
Comment options

You must be logged in to vote
2 replies
@egimenos
Comment options

@Gokul595
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #34 on December 21, 2020 04:45.