Comments (4)
If you are using GitHub environments, you can create the authcontext secret under the environment as an environment secret called AUTHCONTEXT (without the prefix).
If you are setting up environments in settings, you should create the environment as XPR365QA and then use
"DeployToXPR365QA": {
"EnvironmentName": "XPR365-QA"
}
And then create the secret called XPR365QA_AUTHCONTEXT
from al-go.
What is supposed to go into the secret exactly? I'm running into this as well and I don't understand what is supposed to be the value of that secret. Am I correct in guessing it should be an access token?
from al-go.
An accesstoken has a validity period of ~60 minutes. Adding that as a secret would require you to modify that with every deployment.
You can find the format of the authcontext secret used for deployment here:
https://github.com/microsoft/AL-Go/blob/main/Workshop/ContinuousDeployment.md
or
https://github.com/microsoft/AL-Go/blob/main/Scenarios/RegisterSandboxEnvironment.md
from al-go.
Thank you so much, that helps immensely. This is my first time trying to set all this up for an OnPrem project and it's a lot to absorb in a short period.
from al-go.
Related Issues (20)
- LicenseFileUrl HOT 3
- Signed PTE HOT 13
- Code Sign Certificate no more can be exported HOT 10
- Cannot build / install app after force-abort a debug-session during Test with AutoCommit HOT 2
- Accessing GitHub Environment Variables in DeployToCustom Scenarios for PowerShell Scripts HOT 5
- AppSource App Licensing Control HOT 2
- Publish to QA HOT 3
- Manage different NextVersion runners in Org settings HOT 6
- Improve Error Handling when CLI is missing HOT 4
- Failed publish attempts prevent next publish attempt HOT 25
- Deployment to QA HOT 1
- Deployment fails when opening "Extension Installation Status" page
- Build cannot find dependent package HOT 1
- Having multiple GhTokenWorkflow tokens results in error when running action Update AL-Go System Files HOT 6
- Preprocessorsymbols and clean build mode HOT 5
- Deploy Reference Documentation (ALDoc) action missing symbols and xml documentation not showing HOT 3
- S2S Authentication - Clarification HOT 4
- Custom "DeployTo<EnvironmentType>.ps1" not triggering HOT 2
- Trying to debug S2S Authentication failure HOT 6
- Issue with RDLC with apps compiled in pilelines HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al-go.