Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

external oauth

I am trying to do external oauth in forge app

this is my project structure:

Screenshot 2023-10-30 at 3.05.19 PM.png

In server.js-> I am having all trigger related functions
Int Client ->App.js -> My react code which displays hello world

In manifest.yml

providers:
auth:
- key: custom-oauth
name: CustomOAuthProvider
type: oauth2
clientId: 8h75dZztMPONZfk2cMqcj5j7hTJEZJrRW1pdt86PfpM
clientSecret: kdB6L8NqhJ_8a_OQF32Qul3NdY9SHXys_0N9cd-wK6c
remotes:
- custom-oauth-remote
bearerMethod: authorization-header
actions:
authorization:
remote: custom-oauth-remote
path: /signup?provider=jira
exchange:
remote: custom-oauth-remote
path: /o/oauth/token

remotes:
- key: custom-oauth-remote

permissions:
scopes:
- read:jira-work
- write:jira-work
- manage:jira-configuration
external:
fetch:
backend:
what is the use the below function

function:
- key: main
handler: index.run
providers:
auth:
- custom-oauth
where i have to add them in my project structure either server.js or in App.js in client
why it is used for?
where i have to call them?
is my manifest.yml valid?

can anyone help me with this

Thanks in advance

0 comments

Comment

Log in or Sign up to comment