Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Keldarne's avatar

Basic Auth and Passport

Hi all,

I'm using passport to create unique id for users from my DB, now I need to create a basic token to request jira rest API. But I don't know if it's possible to put it in a cookie on laravel API side ? You guys might have suggestions.

Process in requesting JIRA.

Angular_APP-->login-->Laravel_API; Laravel_API-->checking_user()-->Angular_APP-->isConnected(yes); Angular_APP-->Asking for issues-->Laravel_API-->create or get basic auth token-->request on my jira server.

Hope you understand my steps.

0 likes
0 replies

Please or to participate in this conversation.