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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.