Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/concepts/oauth2-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ You can add the redirect URIs that you want to allow in the OAuth 2.0 flows. Aft
We currently support the "Authorization Code" flow and "Refresh Token Flow" of OAuth 2.0. If you want a primer on these flows, head to this great [blogpost](https://darutk.medium.com/diagrams-and-movies-of-all-the-oauth-2-0-flows-194f3c3ade85), but come back soon! We plan on adding support for PKCE Authorization request in the near future.

To authorize the app:
* use the following URL: `https://app.fylehq.com/app/developers/#/oauth/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>`
* use the following URL: `https://app.fylehq.com/app/developers/oauth/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>`
* replace the `<client_id>` with your `client_id`
* replace the `<redirect_uri>` with your redirect URI
* if no redirect URI is setup for your app, you may remove the following from the above URL `&redirect_uri=<redirect_uri>`
Expand Down
2 changes: 1 addition & 1 deletion reference/accountant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13427,7 +13427,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/approver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3961,7 +3961,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/authorization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/hod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/hop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/owner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/spender.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7445,7 +7445,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion reference/super_admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://app.fylehq.com/app/developers/#/oauth/authorize
authorizationUrl: https://app.fylehq.com/app/developers/oauth/authorize
tokenUrl: https://accounts.fylehq.com/oauth/token
scopes:
'*': Grant all actions
Expand Down
2 changes: 1 addition & 1 deletion src/accountant/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/admin/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/approver/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/authorization/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/common/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/hod/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/hop/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/manager/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/owner/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/spender/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
2 changes: 1 addition & 1 deletion src/super_admin/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
type: oauth2
flows:
authorizationCode:
authorizationUrl: 'https://app.fylehq.com/app/developers/#/oauth/authorize'
authorizationUrl: 'https://app.fylehq.com/app/developers/oauth/authorize'
tokenUrl: 'https://accounts.fylehq.com/oauth/token'
scopes:
'*': 'Grant all actions'
Expand Down
Loading