I am trying to use OAuth 2 in a front-end application. A website told me to send the application to the login page of JIRA with this structure:
https:
//example.corp:PORT#/sec/oauth2/authorize?
response_type=code&
client_id=oauth_client&
redirect_uri=https:
//example.corp:84444/client/&
scope=ZLEAVEREQUESTAPPR_0001 ZLEAVEREQUEST_0001&
state=anystate
My question is that first of all: my front - end application uses multiple ports. So how would I put that in?
Second of all, how do I write the scope so that it simply asks the user to login and then proceed back to my application?
Third of all, kind of a sidenote, in the first line of the code, what does the [/sec] mean?
Thanks
Nicole