You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rc-events module should contain a directive that extracts a token from a request header and parses it to a User. Note that for rc-events module a User is just an object that consists of email an id.
The text was updated successfully, but these errors were encountered:
The authorization token must be passed by a user in an Authorization header with Bearer prefix. Example: Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2Njc4Mjk3MDUsImlhdCI6MTY1MjI3NzcwNSwidXNlcklkIjoiNmVjYzQ2ZmItOTFiOS00YzBlLThhNmMtYjI0OGI4YTdhNWZhIiwiZW1haWwiOiJqb2huX2RvZUBlbWFpbC5jb20ifQ.Kpd_qU2EZsDOR4BzW0_c4Pc63sxzE68pMLVsHc6pjgU
This token must have two fields: userId and email, so we can create a custom domain user with these fields. You can use https://jwt.io resource to decipher JWT token and see which info is encoded into it.
rc-events
module should contain a directive that extracts a token from a request header and parses it to aUser
. Note that forrc-events
module aUser
is just an object that consists of email an id.The text was updated successfully, but these errors were encountered: