为Flask设置JIRA作为OAuth Server

为Flask设置JIRA作为OAuth Server_第1张图片
image

按图配置

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

Configure OAuth Authentication for an Application Link

https://confluence.atlassian.com/display/JIRA052/Configuring+OAuth+Authentication+for+an+Application+Link

https://confluence.atlassian.com/display/CONF52/Configuring+OAuth+Authentication+for+an+Application+Link

To configure OAuth authentication for an incoming application link:

Log in as a system administrator and go to the administration page. Click 'Application Links' in the administration menu. The 'Configure Application Links' page will appear, showing the application links that have been set up.
Click the 'Configure' link next to the application link that you want to configure OAuth for.
Click the 'Incoming Authentication' tab. The incoming authentication page will be displayed.
Click the 'OAuth' tab.
Click the 'Enable' button to enable OAuth authentication for the incoming link. The remote application will be automatically set up to be the 'consumer' and your local application as a 'service provider'.

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

Oauth troubleshooting links

https://confluence.atlassian.com/display/APPLINKS051/OAuth+troubleshooting+guide
https://confluence.atlassian.com/display/APPLINKS060/OAuth+troubleshooting+guide

图解Application Links

https://confluence.atlassian.com/display/APPLINKS060/Link+Atlassian+applications+to+work+together
https://confluence.atlassian.com/display/APPLINKS051/OAuth+security+for+application+links

Application Links version matrix

https://confluence.atlassian.com/display/APPLINKS060/Application+links+version+matrix

Reference

  • flask-oauthlib (https://github.com/lepture/flask-oauthlib)
  • https://oauth.net/code/
  • https://confluence.atlassian.com/display/APPLINKS040/Configuring+Trusted+Applications+Authentication+for+an+Application+Link

你可能感兴趣的:(为Flask设置JIRA作为OAuth Server)