Nitro UI: Auto populate Authorization and HTTP Headers from backend configurations #7811
gideonogega
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Swashbuckle.AspnetCore swagger definitions, we are able to populate Oauth 2.0 flows via appsettings.json
See: https://github.com/domaindrivendev/Swashbuckle.AspNetCore?tab=readme-ov-file#add-security-definitions-and-requirements and and https://stackoverflow.com/a/66376443
Can we add this to the Nitro UI as well?
![image](https://private-user-images.githubusercontent.com/23324167/393440369-d6fa7684-809b-40c8-86df-8948fd993ccc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzI5MjQsIm5iZiI6MTczODkzMjYyNCwicGF0aCI6Ii8yMzMyNDE2Ny8zOTM0NDAzNjktZDZmYTc2ODQtODA5Yi00MGM4LTg2ZGYtODk0OGZkOTkzY2NjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEyNTAyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJlZWQ3Njg4NDQxMzRkNTFmMzRhODkxNDViN2NkYjY2MGEyYzg2OWNlMmM3YTQ0OWE5NmIwZmY0MDAxMTE1NDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cLc8fqwtrvS8KiXyhsUR7nhltZO-wTEKY5TCCH-f2Ns)
Generally, you already have it in order to add authorization anyways, so might as well pre-populate the Nitro UI
Beta Was this translation helpful? Give feedback.
All reactions