Need to make a mobile application using Jira cloud platform rest apis

Hello,

I’m in need to create a mobile application that will let the user sign into their account and let them access their projects and Kanban boards.

I have created an app using the URL (https://developer.atlassian.com/apps/create) and successfully able to log in user and grant access from them for their respective sites.

I’m stuck on how to get site-wise projects and Kanban boards, also followed the steps from here: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-projects/ the only question rises here is I need to pass --user ‘email@example.com:<api_token>’ which is available to site admin only.

Without the API token, I’m no longer able to access any API, can anyone help me out with what I’m missing over here? I’m pretty confused with API stuff.